-
Updated
May 25, 2020 - Java
swagger-ui
Here are 965 public repositories matching this topic...
Is your feature request related to a problem
Coming from this issue: tiangolo/fastapi#817
The docs have some sections with functions using *,
in the parameters.
It is explained here: https://fastapi.tiangolo.com/tutorial/path-params-numeric-validations/#order-the-parameters-as-you-need-tricks
But in other sections like: https://fastapi.tiangolo.com/tutor
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?
In #434, it was reported that there were inline scripts that caused the docs to break when a CSP policy blocked those inline scripts. This was fixed in DRS 2.0.
In #637, another inline script was introduced, causing this to break again.
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)
”控制这时就会报以下错误:
Description:
Parameter 0 of constructor in com.github.xiaoymin.swaggerbootstrapui.plugin.DynamicResponseModelReader required a bean of type 'springfox.documentation.schema.TypeNameExtractor' that could not be found.
Action:
Consider defining a bean of type 'springfox.documentation.schema.TypeNameExtrac
-
Updated
Apr 26, 2020 - Java
I'm new to rest_framework but I'm using drf in combination with redoc and this library and it seems to work fantastic.
I was wondering how can I generate custom sections of the documentation for objects that are commonly reused across all API calls. For example, I have a token object that is query/post parameter so I would like this to be explained topic in its own section.
With the help of
-
Updated
May 8, 2020 - PHP
Hi together,
I just started using swagger-jsdoc in my nodejs project using Typescript. It was kind of hard to figure out how to use it due to the transpilation process involved.
There are a few workarounds necessary to make it work:
- apis [...] has to point to files in the
/dist
directory due to the transpilation process - Annotations (in the comments) to model classes are lost in the t
The README explains how to customize swagger-ui by generating and editing the app/views/rswag/ui/home/index.html.erb
template file. This works!
It would be neat if I could configure swagger-ui -- particularly the parameters described in the docs -- by setting the desire
-
Updated
May 25, 2020 - Java
-
Updated
Nov 14, 2019 - CSS
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
Apr 27, 2020 - Python
Hello,
I want to use another db instance for swagger documentation because if we use same db instance on production. there is fear of changes which can be made anyone who is using documentation. So different db for application and another one for documentation. How it can be done using swagger-lume???
-
Updated
May 26, 2020 - JavaScript
Cannot set keywords
Thank you very much for the code. It's very useful, but there's a little problem.
Expected Behavior
https://alibaba-easyexcel.github.io/
I set 'keywords' and I wanted it to be keywords for <head></head>
in HTML.
Actual Behavior
Can't find keywords
and description
tag.
-
Updated
May 25, 2020 - C#
-
Updated
May 11, 2020 - Python
-
Updated
May 25, 2018 - CSS
Describe the feature
Introduce new configuration option to choose collapse mode of generated swagger UI documentation.
The template of swagger UI itself allows easily to define default collapsing behavior over "docExpansion" property in SwaggerUIBundle definition.
-
Updated
Dec 18, 2019 - JavaScript
-
Updated
Nov 7, 2018 - JavaScript
-
Updated
Sep 24, 2019 - JavaScript
-
Updated
Mar 22, 2020 - JavaScript
Improve this page
Add a description, image, and links to the swagger-ui topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the swagger-ui topic, visit your repo's landing page and select "manage topics."
Q&A (please complete the following information)