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.

[enhancement] reuse response description

See original GitHub issue

Hello, First of all I want to thanks the openAPI community. I really appreciate the standard, it really helps the communication between back and front developers. I tried to reuse response description in this way:

...
  responses:
    '200':
      allOf:
      - $ref: '../index.yaml#/components/responses/200Ok'

It seems that it’s not a valid syntax even if it works well on swagger-ui I think that it will be helpful to share the response description between different responses, avoiding to repeat the same message everytime.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
darrelmillercommented, Nov 15, 2018

I really wish Description wasn’t required.

0reactions
handrewscommented, Feb 11, 2020

@webron @whitlockjc another $ref-with-stuff issue to add to that pile.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reuse and Improve - | Principles for Digital Development
Reuse means assessing what resources are currently available and using them as they are to meet program goals. Improve means modifying existing tools,...
Read more >
combining use cases and event response lists for reuse and ...
This report describes an approach to combining Use Cases with elements from Event Response Lists to help improve requirements understanding.
Read more >
Reusable Choices - Qualtrics
Reusable choices allow you to save a list of choices in your survey that you can reuse in more than one question. If...
Read more >
Enhancing Reuse and Resource Recovery of Electrical and ...
Enhancing reuse and resource recovery of electrical and electronic equipment with reverse logistics to meet carbon reduction targets.
Read more >
Enhancing Data Reuse - Feature Extraction - ResearchGate
Enhancing Data Reuse: Standardized Description of the Feature Extraction Process to Transform Raw Data into Meaningful Information.
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