Skip to content

[UI Enhancement] Add type and format to schema field #1148

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

blindaa121
Copy link
Collaborator

Description

This PR adds support for rendering type<format> for schema fields containing both properties.

Motivation and Context

See #1144 for context.

Screenshots (if appropriate)

Screenshot 2025-05-12 at 10 45 35 AM

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@blindaa121 blindaa121 self-assigned this May 12, 2025
Copy link

Size Change: +448 B (+0.02%)

Total Size: 2.13 MB

Filename Size Change
demo/build/petstore/schemas/cat/index.html 37.5 kB +59 B (+0.16%)
demo/build/petstore/schemas/dog/index.html 37.9 kB +59 B (+0.16%)
demo/build/petstore/schemas/honeybee/index.html 37.9 kB +59 B (+0.16%)
demo/build/petstore/schemas/order/index.html 25.8 kB +47 B (+0.18%)
demo/build/petstore/schemas/pet/index.html 37.4 kB +59 B (+0.16%)
demo/build/petstore/schemas/user/index.html 45.6 kB +117 B (+0.26%)
ℹ️ View Unchanged
Filename Size Change
demo/.docusaurus/codeTranslations.json 2 B 0 B
demo/.docusaurus/docusaurus.config.mjs 14.3 kB 0 B
demo/.docusaurus/globalData.json 54.4 kB 0 B
demo/.docusaurus/i18n.json 267 B 0 B
demo/.docusaurus/registry.js 78.9 kB 0 B
demo/.docusaurus/routes.js 74.7 kB 0 B
demo/.docusaurus/routesChunkNames.json 30.8 kB 0 B
demo/.docusaurus/site-metadata.json 1.35 kB 0 B
demo/build/assets/css/styles.********.css 146 kB 0 B
demo/build/assets/js/main.********.js 707 kB 0 B
demo/build/assets/js/runtime~main.********.js 19.9 kB 0 B
demo/build/index.html 91.5 kB 0 B
demo/build/petstore/add-pet/index.html 28.1 kB 0 B
demo/build/petstore/create-user/index.html 22.2 kB 0 B
demo/build/petstore/create-users-with-array-input/index.html 22.3 kB 0 B
demo/build/petstore/create-users-with-list-input/index.html 22.3 kB 0 B
demo/build/petstore/delete-order/index.html 22.3 kB 0 B
demo/build/petstore/delete-pet/index.html 22.3 kB 0 B
demo/build/petstore/delete-user/index.html 22.6 kB 0 B
demo/build/petstore/find-pets-by-status/index.html 23 kB 0 B
demo/build/petstore/find-pets-by-tags/index.html 23.7 kB 0 B
demo/build/petstore/get-inventory/index.html 21.6 kB 0 B
demo/build/petstore/get-order-by-id/index.html 22.5 kB 0 B
demo/build/petstore/get-pet-by-id/index.html 23.1 kB 0 B
demo/build/petstore/get-user-by-name/index.html 22.6 kB 0 B
demo/build/petstore/login-user/index.html 23.2 kB 0 B
demo/build/petstore/logout-user/index.html 21.9 kB 0 B
demo/build/petstore/new-pet/index.html 22.5 kB 0 B
demo/build/petstore/pet/index.html 20.8 kB 0 B
demo/build/petstore/place-order/index.html 21.8 kB 0 B
demo/build/petstore/schemas/apiresponse/index.html 23.6 kB +12 B (+0.05%)
demo/build/petstore/schemas/category/index.html 24.7 kB +12 B (+0.05%)
demo/build/petstore/schemas/id/index.html 21.7 kB +12 B (+0.06%)
demo/build/petstore/schemas/tag/index.html 23.1 kB +12 B (+0.05%)
demo/build/petstore/store/index.html 20 kB 0 B
demo/build/petstore/subscribe-to-the-store-events/index.html 28.6 kB 0 B
demo/build/petstore/swagger-petstore-yaml/index.html 28.7 kB 0 B
demo/build/petstore/update-pet-with-form/index.html 22.5 kB 0 B
demo/build/petstore/update-pet/index.html 22.9 kB 0 B
demo/build/petstore/update-user/index.html 22.5 kB 0 B
demo/build/petstore/upload-file/index.html 22.3 kB 0 B
demo/build/petstore/user/index.html 20.5 kB 0 B

compressed-size-action

Copy link

Visit the preview URL for this PR (updated for commit e5050e8):

https://docusaurus-openapi-36b86--pr1148-87hfc1oe.web.app

(expires Wed, 11 Jun 2025 17:53:50 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bf293780ee827f578864d92193b8c2866acd459f

@blindaa121 blindaa121 merged commit 128d240 into main May 13, 2025
9 checks passed
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

Successfully merging this pull request may close these issues.

1 participant