Skip to content

Bug fixes for enums with no type and anyof/oneof schemas#1136

Merged
sserrata merged 2 commits intomainfrom
pan-dev-issue-891
May 1, 2025
Merged

Bug fixes for enums with no type and anyof/oneof schemas#1136
sserrata merged 2 commits intomainfrom
pan-dev-issue-891

Conversation

@sserrata
Copy link
Member

@sserrata sserrata commented May 1, 2025

Description

Addresses issues described in PaloAltoNetworks/pan.dev#891

Motivation and Context

How Has This Been Tested?

Tested with https://github.com/PaloAltoNetworks/pan.dev/blob/master/openapi-specs/scm/config/ngfw/security/security-services.yaml

Visual inspection of demo tests

Screenshots (if appropriate)

n/a

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

@sserrata sserrata added the bug Something isn't working label May 1, 2025
@sserrata sserrata self-assigned this May 1, 2025
@github-actions
Copy link

github-actions bot commented May 1, 2025

Size Change: -264 B (-0.01%)

Total Size: 2.13 MB

Filename Size Change
demo/build/petstore/schemas/cat/index.html 37.4 kB -44 B (-0.12%)
demo/build/petstore/schemas/dog/index.html 37.8 kB -44 B (-0.12%)
demo/build/petstore/schemas/honeybee/index.html 37.9 kB -44 B (-0.12%)
demo/build/petstore/schemas/pet/index.html 37.4 kB -33 B (-0.09%)
demo/build/petstore/schemas/user/index.html 45.5 kB -44 B (-0.1%)
ℹ️ 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.1 kB 0 B
demo/.docusaurus/i18n.json 267 B 0 B
demo/.docusaurus/registry.js 78.5 kB 0 B
demo/.docusaurus/routes.js 74.2 kB 0 B
demo/.docusaurus/routesChunkNames.json 30.6 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 706 kB 0 B
demo/build/assets/js/runtime~main.********.js 19.8 kB 0 B
demo/build/index.html 91.1 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 -11 B (-0.05%)
demo/build/petstore/schemas/category/index.html 24.6 kB -22 B (-0.09%)
demo/build/petstore/schemas/id/index.html 21.7 kB 0 B
demo/build/petstore/schemas/order/index.html 25.7 kB -11 B (-0.04%)
demo/build/petstore/schemas/tag/index.html 23 kB -11 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

@github-actions
Copy link

github-actions bot commented May 1, 2025

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

https://docusaurus-openapi-36b86--pr1136-jao47vad.web.app

(expires Sat, 31 May 2025 16:01:55 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bf293780ee827f578864d92193b8c2866acd459f

@sserrata sserrata changed the title Fixes for enums with no type and anyof/oneof schemas Bug fixes for enums with no type and anyof/oneof schemas May 1, 2025
@sserrata sserrata merged commit f554dc0 into main May 1, 2025
10 checks passed
@sserrata sserrata deleted the pan-dev-issue-891 branch May 1, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant