Comments (2)
@Helder-Henderson That's a tool-specific implementation choice, so I'm afraid you'll need to raise it with the Swagger-Editor team (this repo is just for the specification itself).
I would imagine that you can use the example
or examples
keyword next to oneOf
(depending on which OpenAPI version this is) to set an explicit example, but if that doesn't work or if you don't want to have to add an explicit example, you'll need to raise that with Swagger.
from openapi-specification.
(although maybe just put responseB
first as it shouldn't matter for anything else?)
from openapi-specification.
Related Issues (20)
- Use URI references for Security Requirements in 3.2
- remove "Optional OAuth2 security" examples HOT 2
- Style guide / release checklist for the specification HOT 3
- Behavior of `allowEmptyValue: false` HOT 11
- Open Community (TDC) Meeting, Thursday 16 May 2024 HOT 2
- RFC 7231 has been obsoleted by RFC 9110 HOT 10
- Define a policy using draft PRs when waiting on specific approvals HOT 3
- Open Community (TDC) Meeting, Thursday 23 May 2024 HOT 5
- Open Community (TDC) Meeting, Thursday 30 May 2024 HOT 2
- We should not keep a minified version of respec.js
- Document milestone usage in DEVELOPMENT.md
- Define and add new process labels and document general label usage in DEVELOPMENT.md
- Should `style: form` examples include `?` prefix? If so, what about `spaceDelimited`, `pipeDelimited`, and `deepObject`? HOT 1
- Simplify HTML rendering build process HOT 1
- Consolidated $ref-to-Some Object feature request
- Move examples to learn.openapis.org or spec.openapis.org HOT 4
- Preserve section links in ReSpec output HOT 1
- Open Community (TDC) Meeting, Thursday 06 June 2024 HOT 1
- Add dark mode support to the HTML versions of the OpenAPI specs HOT 1
- Clarify the meaning of info.version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapi-specification.