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

Migrate schema page to Schema component and refactor layout #1001

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

sserrata
Copy link
Member

@sserrata sserrata commented Oct 21, 2024

Description

Migrates to new Schema theme component for rendering schemas in schema pages and refactors layout as described in #996. Also allows use of createSchemaPageMD when defining markdown generators.

Motivation and Context

Ensures consistency in how schemas are represented across API and schema pages.

How Has This Been Tested?

See deploy preview

@sserrata sserrata added enhancement New feature or request v4.0.0 v4.0.0 labels Oct 21, 2024
@sserrata sserrata self-assigned this Oct 21, 2024
Copy link

github-actions bot commented Oct 21, 2024

Size Change: +66.7 kB (+3.39%)

Total Size: 2.04 MB

Filename Size Change
demo/build/assets/css/styles.********.css 133 kB -40 B (-0.03%)
demo/build/petstore/schemas/apiresponse/index.html 24.1 kB +2.61 kB (+12.17%) ⚠️
demo/build/petstore/schemas/cat/index.html 38.9 kB +8.68 kB (+28.73%) 🚨
demo/build/petstore/schemas/category/index.html 25.2 kB +3.16 kB (+14.34%) ⚠️
demo/build/petstore/schemas/dog/index.html 39.3 kB +9.66 kB (+32.57%) 🚨
demo/build/petstore/schemas/honeybee/index.html 39.4 kB +9.67 kB (+32.54%) 🚨
demo/build/petstore/schemas/id/index.html 22.1 kB +1.3 kB (+6.27%) 🔍
demo/build/petstore/schemas/order/index.html 26.4 kB +3.9 kB (+17.34%) ⚠️
demo/build/petstore/schemas/pet/index.html 38.8 kB +10.9 kB (+39%) 🚨
demo/build/petstore/schemas/tag/index.html 23.5 kB +2.16 kB (+10.09%) ⚠️
demo/build/petstore/schemas/user/index.html 47.6 kB +14.8 kB (+45.18%) 🚨
ℹ️ View Unchanged
Filename Size Change
demo/.docusaurus/codeTranslations.json 2 B 0 B
demo/.docusaurus/docusaurus.config.mjs 13.7 kB 0 B
demo/.docusaurus/globalData.json 38.6 kB 0 B
demo/.docusaurus/i18n.json 267 B 0 B
demo/.docusaurus/registry.js 56.9 kB 0 B
demo/.docusaurus/routes.js 52.6 kB 0 B
demo/.docusaurus/routesChunkNames.json 21.8 kB 0 B
demo/.docusaurus/site-metadata.json 1.23 kB 0 B
demo/build/assets/js/main.********.js 675 kB 0 B
demo/build/assets/js/runtime~main.********.js 14.6 kB 0 B
demo/build/index.html 94.5 kB -16 B (-0.02%)
demo/build/petstore/add-pet/index.html 23.2 kB 0 B
demo/build/petstore/create-user/index.html 22.6 kB 0 B
demo/build/petstore/create-users-with-array-input/index.html 22.6 kB 0 B
demo/build/petstore/create-users-with-list-input/index.html 22.6 kB 0 B
demo/build/petstore/delete-order/index.html 22.6 kB 0 B
demo/build/petstore/delete-pet/index.html 22.7 kB 0 B
demo/build/petstore/delete-user/index.html 23 kB 0 B
demo/build/petstore/find-pets-by-status/index.html 23.4 kB 0 B
demo/build/petstore/find-pets-by-tags/index.html 24.1 kB 0 B
demo/build/petstore/get-inventory/index.html 21.9 kB 0 B
demo/build/petstore/get-order-by-id/index.html 22.9 kB 0 B
demo/build/petstore/get-pet-by-id/index.html 23.5 kB 0 B
demo/build/petstore/get-user-by-name/index.html 23 kB 0 B
demo/build/petstore/login-user/index.html 23.6 kB 0 B
demo/build/petstore/logout-user/index.html 22.3 kB 0 B
demo/build/petstore/new-pet/index.html 22.9 kB 0 B
demo/build/petstore/pet/index.html 24.6 kB -16 B (-0.07%)
demo/build/petstore/place-order/index.html 22.1 kB 0 B
demo/build/petstore/store/index.html 22.5 kB -16 B (-0.07%)
demo/build/petstore/subscribe-to-the-store-events/index.html 29.2 kB 0 B
demo/build/petstore/swagger-petstore-yaml/index.html 29.6 kB -16 B (-0.05%)
demo/build/petstore/update-pet-with-form/index.html 22.9 kB 0 B
demo/build/petstore/update-pet/index.html 23.3 kB 0 B
demo/build/petstore/update-user/index.html 22.9 kB 0 B
demo/build/petstore/upload-file/index.html 22.7 kB 0 B
demo/build/petstore/user/index.html 23.5 kB -16 B (-0.07%)

compressed-size-action

Copy link

github-actions bot commented Oct 21, 2024

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

https://docusaurus-openapi-36b86--pr1001-hs3r0ou8.web.app

(expires Thu, 21 Nov 2024 15:53:57 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bf293780ee827f578864d92193b8c2866acd459f

@sserrata sserrata closed this Oct 22, 2024
@sserrata sserrata reopened this Oct 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 v4.0.0 v4.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant