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

plutus-pab: swagger docs - endpoint schema specs #652

Open
OlofBlomqvist opened this issue Jul 23, 2022 · 0 comments
Open

plutus-pab: swagger docs - endpoint schema specs #652

OlofBlomqvist opened this issue Jul 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@OlofBlomqvist
Copy link

Describe the feature you'd like

I think endpoints such as the 'endpoint endpoint' below should be separated in to whatever endpoints actually exists rather than having them be a path variable, and made so that the applicable schema information for each one is available.

Right now, the documentation just says I should send a "string", which is really no help at all.. not for me, and not for a generated client.

bild

Describe alternatives you've considered

One could probably also use "oneOf" to describe the different allowed inputs to the same endpoint (see https://swagger.io/docs/specification/describing-request-body/)..

@OlofBlomqvist OlofBlomqvist added the enhancement New feature or request label Jul 23, 2022
@michaelpj michaelpj transferred this issue from IntersectMBO/plutus Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant