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

Use FastEndpoints approach to Swagger #173

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

batkaevruslan
Copy link

Problem:
generated API specification states that GET method has a body
image
It is not possible to test API using generated UI as you get an error "TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body.".

Proposed solution: use FastEndpoints.Swagger package as recommended in official docs (https://fast-endpoints.com/docs/swagger-support).

@batkaevruslan batkaevruslan force-pushed the use-fastendpoints-swagger-generator branch from 17cdb07 to bee43ca Compare February 18, 2025 11:42
@batkaevruslan batkaevruslan marked this pull request as ready for review February 18, 2025 11:45
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

Successfully merging this pull request may close these issues.

1 participant