Skip to content

Conversation

FabianSchurig
Copy link
Contributor

Hi @dluc

Currently the specification of the /upload endpoint is not automatically generated.

My change manually adds the specification to service/Service.AspNetCore/WebAPIEndpoints.cs which enables the SwaggerUI to provide a Try it out option with the upload feature and setting the request body.

Important

Furthermore, I will need the generated change of the swagger.json to automatically generate the python client with openapi-python-generator in a follow up PR. The client will be auto generated based on the OpenAPI spec.

Here an example of how it is looks like and works:
image

@FabianSchurig FabianSchurig requested a review from dluc as a code owner March 17, 2025 16:45
@FabianSchurig
Copy link
Contributor Author

@microsoft-github-policy-service agree

@dluc dluc force-pushed the add-upload-spec branch from 4c17edf to fe28f6a Compare March 22, 2025 22:28
@dluc dluc merged commit 5cd504a into microsoft:main Mar 22, 2025
6 checks passed
@dluc
Copy link
Collaborator

dluc commented Mar 22, 2025

Big Thanks @FabianSchurig 👍

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.

2 participants