sanic
Here are 281 public repositories matching this topic...
Other codegen tools support circular references. See swagger-api/swagger-codegen#728.
I this this issue with the following yml:
Node:
description: Generic node.
type: object
properties:
type:
description: Type or label of the node.
type: string
properties:
description: Node specific dictionary of key/value pairs-
Updated
Apr 24, 2020 - Vue
Adding examples responses.
I see there is a method to add responses @doc.response but is there a method to add example responses?
It would be nice if @doc.example() added example code to the OpenApi spec.
Slightly related question
Is there a way to populate the Example Value box with a real example, or will that only
-
Updated
Nov 30, 2018 - Python
-
Updated
Feb 14, 2020 - Python
Reading the Sanic JWT docs, although override_scope_validator is mentioned in Initialization and it mentions See Scopes for more information., override_scope_validator seems to be missing in Scopes.
-
Updated
Apr 25, 2020 - Python
Based on your documentation, I should be able to force sanic-cors to show only logs at INFO level like this:
cors = CORS(app, resources={r"/static/*": {"origins": "*"}})
logging.getLogger('sanic_cors').level = logging.INFOThis works if the logging level for the app is also set to logging.INFO, but as soon as the app’s log level is set to logging.DEBUG, even with the sec
-
Updated
Jun 22, 2018 - Python
-
Updated
Apr 6, 2020 - Python
-
Updated
Oct 18, 2019 - Python
-
Updated
May 31, 2020 - Python
-
Updated
Jun 28, 2020 - Python
-
Updated
Jun 28, 2020 - JavaScript
-
Updated
May 2, 2020 - HTML
Improve this page
Add a description, image, and links to the sanic topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the sanic topic, visit your repo's landing page and select "manage topics."
I noticed an undocumented behavior with listeners, where some of them run in reverse order of registration
Additional context
Relevant lines of code from https://github.com/huge-success/sanic/blob/master/sanic/app.py#L1356