Skip to content

Commit 51bad33

Browse files
committed
Merge dev into main
# Conflicts: # README.md # osbot_fast_api/version # pyproject.toml
2 parents 5662e5d + 37c9e24 commit 51bad33

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OSBot-Fast-API
22

3-
![Current Release](https://img.shields.io/badge/release-v0.36.0-blue)
3+
![Current Release](https://img.shields.io/badge/release-v0.36.1-blue)
44
![Python](https://img.shields.io/badge/python-3.8+-green)
55
![FastAPI](https://img.shields.io/badge/FastAPI-0.100+-red)
66
![Type-Safe](https://img.shields.io/badge/Type--Safe-✓-brightgreen)

osbot_fast_api/api/routes/Fast_API__Routes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ def add_route_get(self, function : Callable # Function t
3535
): # Register GET route with Type_Safe support
3636
return self.add_route(function, methods=['GET'])
3737

38+
@type_safe
39+
def add_route_patch(self, function : Callable # Function to register as POST
40+
): # Register POST route with Type_Safe support
41+
return self.add_route(function, methods=['PATCH'])
42+
43+
3844
@type_safe
3945
def add_route_post(self, function : Callable # Function to register as POST
4046
): # Register POST route with Type_Safe support

osbot_fast_api/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.36.0
1+
v0.36.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "osbot_fast_api"
3-
version = "v0.36.0"
3+
version = "v0.36.1"
44
description = "OWASP Security Bot - Fast API"
55
authors = ["Dinis Cruz <dinis.cruz@owasp.org>"]
66
license = "MIT"

0 commit comments

Comments
 (0)