-
I have upgraded my packages to:
flask-2.2.2
injector-0.20.1
Flask-injector-0.14.1
apispec-6.0.2
flask-apispec-0.11.4
I'm using Flask-apispec to auto-generate api documentation, and I'm using …
-
I am using the DelimitedList field like so:
```
class PieChartParams(Schema):
title = String(required=False, validate=Length(0, 30))
values = DelimitedList(Number(validate=Range(min=0, m…
-
Sometimes it might be desirable to verify if the endpoints match a given OpenAPI schema. To implement this, we would need to parse the schema (see https://github.com/softwaremill/sttp-apispec/issues/2…
adamw updated
2 months ago
-
When a `Schema` only consists of two fields like
```
class ExampleSchema(Schema):
field1 = fields.Str()
field2 = fields.Str()
```
and is used with `many=True`, the validated data will …
-
http://flask.pocoo.org/docs/0.12/views/#method-views-for-apis demonstrates how to implement a `get` method on a `MethodView` that handles both the "get all" case (e.g. GET /todos/) as well as the "get…
-
I'm using the following for auth:
```
basic_auth = HTTPBasicAuth()
token_auth = HTTPTokenAuth('Bearer')
multi_auth = MultiAuth(basic_auth, token_auth)
```
Then when using authenticate:
…
-
Support to set a custom example for request parameters.
```python
@input(PetQuerySchema, location='query', example=..., examples=[...])
```
Ref: https://swagger.io/docs/specification/adding-exam…
-
Hello!
I discovered that documentation of constraint conditions is not working properly while migrating to Spring Boot version 3.
I think adding `jakarta.validation.constraints` classes within …
-
The page is blank
![image](https://user-images.githubusercontent.com/98100341/192481075-b32722b4-6cfd-4b3e-9149-af7fc4dcd631.png)
The code is as follows.
from flasgger import Swagger
swagge…
-
I'm using Flask RESTful and I want POST validated using `Flasgger(parse=True)`
If $ref is used in schema:
```
parameters:
- in: body
name: body
schema:
$ref: '#/definitions/…