question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

response multi data model

See original GitHub issue

i want to use to multi data model in response

according to spec ‘OpenAPI 3.0 provides several keywords which you can use to combine schemas’ oneOf that is keyword is used to combine schemas but OpenAPI doesn`t recognized multi data model

my openAPI code – paths: /pets: patch: requestBody: content: application/json: schema: oneOf: - $ref: ‘#/components/schemas/Cat’ - $ref: ‘#/components/schemas/Dog’ responses: ‘404’: description: not found content: application/json: schema: oneOf: - $ref: ‘#/components/schemas/Cat’ - $ref: ‘#/components/schemas/Dog’ components: schemas: Dog: type: object properties: bark: type: boolean breed: type: string enum: [Dingo, Husky, Retriever, Shepherd] Cat: type: object properties: hunts: type: boolean age: type: integer

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MikeRalphsoncommented, Feb 14, 2018

Thanks @shockey

1reaction
MikeRalphsoncommented, Jan 24, 2018

@vickysg0210 with which tool(s)? I see you have already commented on https://github.com/swagger-api/swagger-ui/issues/3803

Read more comments on GitHub >

github_iconTop Results From Across the Web

Models with of Multiple Responses
Introduction. This chapter reviews some of the methodology which is being used in a statistical investigation of the assessment process associated with GNVQ....
Read more >
Modelling Strategies for Repeated Multiple Response Data
This article discusses modelling strategies of a repeated multiple response variable, a categorical variable for which respondents can select any number of ...
Read more >
How to model multi-response data with subjects across ...
How to model multi-response data with subjects across multiple experiments? Ask Question. Asked 9 months ago. Modified 8 months ago.
Read more >
Fit model with multiple responses using each predictor ...
You can use a multi response linear model, where each response is regressed against each predictor separately, so for example:
Read more >
Multiple Response Regression for Gaussian Mixture Models ...
Multiple response regression is a useful regression technique to model multiple response variables using the same set of predictor variables ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found