-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Open
Description
Q&A (please complete the following information)
- OS: macOS
- Browser: FireFox
- Version: 140.5
- Method of installation: downloaded the pre-compiled bundle and used the
dist/directory - Swagger-UI version: 5.30.3
- Swagger/OpenAPI version: 3.1.0
Content & configuration
Example Swagger/OpenAPI definition:
{
"openapi": "3.1.0",
"paths": {
"/greet": {
"get": {
"parameters": [
{
"name": "name",
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
]
}
}
}
}Swagger-UI configuration options:
Not changed from defaults
Describe the bug you're encountering
To reproduce...
Steps to reproduce the behavior:
- Create an OpenAPI spec that uses
anyOffor a parameter - Look at the generated docs for that parameter
Expected behavior
In the above example, I expect to see string | integer
Screenshots
Additional context or thoughts
elefores
Metadata
Metadata
Assignees
Labels
No labels