Skip to content

Unformatted Swagger.json #546

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

Closed
marcelojaloto opened this issue Mar 31, 2022 · 2 comments
Closed

Unformatted Swagger.json #546

marcelojaloto opened this issue Mar 31, 2022 · 2 comments

Comments

@marcelojaloto
Copy link
Contributor

marcelojaloto commented Mar 31, 2022

When the file is not formatted it makes it difficult to investigate problems in the Swagger Editor, because it is not possible to identify the error line.

I'm the creator library SwagDoc.

I have the solution for the problem and I need you aprove my pull request with the fix this one.

Can you aprove my Pull Request?

#547

unit MVCFramework.Middleware.Swagger
Line: 430
Before: InternalRender(LSwagDoc.SwaggerJson.ToJson, AContext);
After: InternalRender(LSwagDoc.SwaggerJson.Format, AContext);
Notes: And includes **Json.Common.Helpers** unit at uses Implementation.

Thanks!
Marcelo Jaloto

marcelojaloto added a commit to marcelojaloto/delphimvcframework that referenced this issue Mar 31, 2022
danieleteti pushed a commit that referenced this issue Mar 31, 2022
@danieleteti
Copy link
Owner

Thank you Marcelo. Merged.

@marcelojaloto
Copy link
Contributor Author

You are welcome. Thanks too!

marcelojaloto added a commit to marcelojaloto/delphimvcframework that referenced this issue Oct 21, 2022
danieleteti pushed a commit that referenced this issue Oct 21, 2022
…ord and Enumerated Type (#584)

* Issue #546 was missing from the merge.

* #583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type;
danieleteti pushed a commit that referenced this issue Oct 22, 2022
* Issue #546 was missing from the merge.

* #581 - Fix error on removing default connection;
danieleteti pushed a commit that referenced this issue Oct 18, 2024
* Issue #546 was missing from the merge.

* #581 - Fix error on removing default connection;

* #583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type;

* issue #789;

* issue #789;
danieleteti pushed a commit that referenced this issue Nov 29, 2024
* Issue #546 was missing from the merge.

* #581 - Fix error on removing default connection;

* #583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type;
danieleteti pushed a commit that referenced this issue Jan 6, 2025
* Issue #546 was missing from the merge.

* #581 - Fix error on removing default connection;

* #583 - Fixes bugs 'Invalid class typecast' when using Active Record and Enumerated Type;

* Fixes rendering in Swagger documentation for TArray type fields.

* It also allows overriding the MapTValueToParam method of the TMVCActiveRecord class.
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

No branches or pull requests

2 participants