Skip to content

Specifying Additional OpenAPI Properties #856

Discussion options

You must be logged in to vote

@PhoenixStorm1015

you can pass openapi_extra into NinjaAPI instance:

api = NinjaAPI(
openapi_extra={
"externalDocs": {
"description": "Find more info here",
"url": "https://example.com",
}
},
version="1.0.0",

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nullandvoid-digital
Comment options

Answer selected by nullandvoid-digital
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants