docusaurus-openapi-docs icon indicating copy to clipboard operation
docusaurus-openapi-docs copied to clipboard

Example & externalDocs attributes not displaying

Open MaartenDCrius opened this issue 1 year ago • 0 comments

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 avatar Jul 11 '24 07:07 MaartenDCrius