openapi-specification
Here are 163 public repositories matching this topic...
In the OpenAPI spec, section "Link Object",
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#linkObject
the "Examples" table following after the text
"The table below provides examples of runtime expressions and examples of their use in a value:"
contains a confusing "note" in the third row, and I think a "note" is missing in the second row.
Proposed changes:
First of all, the following repository has all the code (and description as well) to reproduce this problem: https://github.com/elgleidson/swagger-problem
I have the following JSON:
{
"nonNullableField": "not null",
"nullableField": null,
"nonNullableObjectField": {
"someField": "some value"
},
"nullableObjectField": null,
"nonNullableList": [
"not null"There is absolutely no documentation (other than "this is how you drop an existing file". What is the point of releasing such a product if you do not document it?
Is there any documentation regarding CORS preflight requests? Seems like these should automatically be configured based on the swagger definition.
I'm looking to return the verbs defined in swagger for my resources (paths) but I can't even find how to control "preFlightContinue" option.
Thanks in advance.
add auth to docs
Copied from #103
I've resolved the issue of authentication using the next code:
swagger_template = { ..., 'securityDefinitions': { 'basicAuth': { 'type': 'basic' } }, ... }
app = Flask(__name__)
Swagger(app, config=config[config_name].swagger_config, template=swagger_template)

- Expand on guidelines re: keeping commits to logical areas of the code / individual packages where possible
- Use of
conventional-commitstandard going forward - Advice not to include any
package-lock.jsonchanges PRs, for security reasons. File will be regene
"false".equalsIgnoreCase(defaultValue) should be "false".equalsIgnoreCase(example)
...
} else if (BooleanProperty.TYPE.equals(type)) {
if ("true".equalsIgnoreCase(example) || "false".equalsIgnoreCase(defaultValue)) {
return Boolean.valueOf(example);
}
}
...
In our project we have need to pass Request object to our controller. This is the routes file
POST /check controllers.CheckConotroller.checkStatus(request: Request)
Swagger is generating this output for the parameters object:
`
"parameters": [
{
"name": "request",
"in": "query",
Only HTTP API docs solves part of the problem for most users. What about rending code examples in different languages.
I'm currently using ReDoc which provides such feature taking code examples from OpenAPI x-examples fields.
Are you guys planning to support a similar feature? It would be great for the Developer Experience.
-
Updated
Jun 10, 2020 - HTML
-
Updated
Jun 9, 2020 - HTML
Current swagger-ui does not show the validator-badge.
I thought it is relevant to mention this issue in this repo as well, since the docker-container you provide comes with a swagger-ui which has the same issue and won't show the validator-badge.
-
Updated
Jun 18, 2020 - Java
We are using this library to power a GitHub Action that generates a backward compatibility report between two versions of an OpenAPI spec. We love this library, but it is not clear what changes are detectable by this library, and what changes this library classifies as "breaking" or "non-breaking" changes. It would be really valuable to us if this repo could include a markdown file outlining all t
-
Updated
Feb 9, 2020 - Ruby
Steps to reproduce:
- Download http://petstore.swagger.io/v2/swagger.json
- Open swagger.json in Swagger Parser
- Find the POST /pet endpoint and click "send to repeater"
POST /v2/pet HTTP/1.1
Host: petstore.swagger.io
Accept: application/xml, application/json
Content-Type: application/json, application/xml
id={integer}&id={integer}&name={string}&name={string}&photoUrls={array}
-
Updated
Jun 20, 2020 - Python
-
Updated
Jun 21, 2020 - TypeScript
Affecting model markdown docs like: https://github.com/square/connect-csharp-sdk/blob/master/docs/V1EmployeesApi.md#createemployee
This is likely an issue with a repeated print from the template, or possibly printing two different variables from the template that we have assigned to b
-
Updated
Apr 28, 2020 - Go
Improve this page
Add a description, image, and links to the openapi-specification topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the openapi-specification topic, visit your repo's landing page and select "manage topics."

Q&A (please complete the following information)