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

OpenAPI 3 broken if " DefaultMARSJSONSerializationOptions.SkipEmptyValues := False; " #126

Open
bobprog72 opened this issue Jul 22, 2022 · 0 comments
Assignees
Labels

Comments

@bobprog72
Copy link

bobprog72 commented Jul 22, 2022

if you set DefaultMARSJSONSerializationOptions.SkipEmptyValues in some resource initialization, the result openapi result is completly broken.

No parameters exported, some default resources exported on all html methods, errors on swagger interface.

You can test it on mars\demos\openapi

immagine
immagine
immagine

(the errors are visible after you open one resource method.

@andrea-magni andrea-magni self-assigned this Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants