Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.
This repository was archived by the owner on May 12, 2025. It is now read-only.

param examples have no effect on UI #12

Description

@bourdakos1

If a param has an example, the UI should use the example as the placeholder for the text input and render an example in the params table.

Example:

components:
  schemas:
    CurrencyCode:
      type: string
      example: USD
/**
 * GET /currency/{code}
 * @pathParam {CurrencyCode} code - A three letter currency code.
 * @response 200 - OK
 */

should render:

Path Params
code string[] - REQUIRED
A three letter currency code.
Example: USD

with a try it out example:
code

USD

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions