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

Bad management of required in open API File #9414

Closed
exalate-issue-sync bot opened this issue Dec 5, 2023 · 1 comment
Closed

Bad management of required in open API File #9414

exalate-issue-sync bot opened this issue Dec 5, 2023 · 1 comment

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Dec 5, 2023

Describe the bug :

When in our OpenAPI 3.0.0 documentation page we have a filed which says it is not required when we upload it we can see in the Console UI Preview it says that it is. While if we upload the same doc to https://editor.swagger.io/ all is at it should be:

NOTE: Issue is only in Console UI while in Portal UI all is okay.

Attachment - image.png

Console UI:

Attachment - image.png

Portal UI:

Attachment - image.png

All is okay.

To Reproduce :

Steps to reproduce the behavior:

  1. Create a simnple API and add a openapi 3.0.0 documetaion with configuration as above.
  2. After the page and api are published in the Portal you can see a difference that in the Console UI the field is required while in Portal UI like in the Swagger Editor all is okay.

Expected behavior :

If a filed is not required in the documentation it should not be displayed as required.

Desktop :

  • Environment: APIM 4.1.X, 3.20.X
  • Browser: Google Chrome
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
mergify bot pushed a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
gaetanmaisse added a commit to gravitee-io/gravitee-api-management that referenced this issue Dec 6, 2023
Copy link
Author

This issue will be fixed in versions 4.0.14, 4.2.0, 3.20.25, 4.1.5

@exalate-issue-sync exalate-issue-sync bot changed the title Bad manage of required in open API File Bad management of required in open API File Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants