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

Fix Swagger/OpenAPI Schema #1600

Merged
merged 3 commits into from
Jan 29, 2024
Merged

Fix Swagger/OpenAPI Schema #1600

merged 3 commits into from
Jan 29, 2024

Conversation

kent-3
Copy link
Contributor

@kent-3 kent-3 commented Dec 26, 2023

This pull request addresses two issues in the swagger_legacy.yaml file:

  • Corrected tyDeprecated: typos to type:
  • Removed redundant object definition in the /reg/consensus-io-exch-pubkey endpoint response schema

Though part of the deprecated API, these errors were causing issues in the generated openapi.yaml and swagger.yaml files.

With these changes, the spec will now pass validation used by the OpenAPI Generator tool when generating code.

@assafmo
Copy link
Member

assafmo commented Dec 27, 2023

Thanks! Looks good, I just want to see the CI building this before we merge

@assafmo assafmo merged commit e224c95 into scrtlabs:master Jan 29, 2024
1 of 2 checks passed
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