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

Example request bodies not seen in json output #2832

Open
nsg1000 opened this issue Apr 24, 2024 · 1 comment
Open

Example request bodies not seen in json output #2832

nsg1000 opened this issue Apr 24, 2024 · 1 comment
Labels
needs-repro A minimal reproducible example is needed

Comments

@nsg1000
Copy link

nsg1000 commented Apr 24, 2024

Swashbuckle cli 6.5.0

Implementing request examples as:

IExamplesProvider from Swashbuckle.AspNetCore.Filters

Expect json to have an example: section as per the following: https://github.com/mattfrear/Swashbuckle.AspNetCore.Filters?tab=readme-ov-file#request-example

My swagger page json works correctly, the json file generated by the cli does not.

@nsg1000 nsg1000 changed the title Examples request bodies not seen in json output Example request bodies not seen in json output Apr 24, 2024
@martincostello
Copy link
Collaborator

Please provide a minimal reproducible example as a GitHub repository that demonstrates the issue you're experiencing so we can look into this further.

@martincostello martincostello added the needs-repro A minimal reproducible example is needed label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-repro A minimal reproducible example is needed
Projects
None yet
Development

No branches or pull requests

2 participants