more-urgen-jest
3 years agoOccasional Contributor
c# openapi parameter schema object
is it possible to define a parameter using a ref to a schema? e.g.: "/path/to/here": {
"get": {
"responses": {
"200": {
"$ref": "#/components/responses...
- 3 years ago
Yes, you can use schemas in parameters.
You might be looking for Parameter serialization, specifically the `explode` keyword... https://swagger.io/docs/specification/serialization/
That will allow each field in an object to be its own query name/value pair.