Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example & externalDocs attributes not displaying #885

Open
MaartenDCrius opened this issue Jul 11, 2024 · 0 comments
Open

Example & externalDocs attributes not displaying #885

MaartenDCrius opened this issue Jul 11, 2024 · 0 comments
Labels
enhancement New feature or request roadmap Features or bug fixes planned for future release

Comments

@MaartenDCrius
Copy link

Example & externalDocs attributes not displaying

In our api spec we add example values for our properties and externalDocs. These are not displayed in the output

      properties:
        label:
          maxLength: 50
          minLength: 0
          type: string
          description: Label of the license plan
        rateLimitTokens:
          type: integer
          description: Amount of API requests the customer can do in one hour
          format: int32
          example: 1000
          externalDocs:
            description: Rate limiting
            url: https://exampleUrl.com

Describe the solution you'd like

Possible solution:

image

Describe alternatives you've considered

We used Swizzling to add our own SchemaItem component

@MaartenDCrius MaartenDCrius added the enhancement New feature or request label Jul 11, 2024
@sserrata sserrata added the roadmap Features or bug fixes planned for future release label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roadmap Features or bug fixes planned for future release
Projects
None yet
Development

No branches or pull requests

2 participants