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

Quantity fields are displayed differently in schema view than other data types #8099

Open
D053429 opened this issue Jul 18, 2022 · 0 comments

Comments

@D053429
Copy link

D053429 commented Jul 18, 2022

Q&A (please complete the following information)

  • OS: Windows
  • Browser: Chrome, Microsoft Edge
  • Version: 103.0.5060.66, 103.0.1264.62
  • Method of installation: https://editor.swagger.io/
  • Swagger-UI version: [e.g. 3.10.0]
  • Swagger/OpenAPI version: [e.g. Swagger 2.0, OpenAPI 3.0]

Content & configuration

Example Swagger/OpenAPI definition:
openapi.txt

Describe the bug you're encountering

We noticed that quantity fields are handled differently than other fields, such as String. Please see screenshots attached. Would it be possible to add information, such as data type, maxLength and title also for quantity fields so that they have the same look and feel?

To reproduce...

Steps to reproduce the behavior:
see attached screenshots and YAML file

Expected behavior

Same appearance for all data types

Screenshots

Snag_112a543

Snag_1120fba

Additional context or thoughts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant