Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
66 stars 23 forks source link

dev branch produces invalid Open api specification #195

Closed demeringo closed 1 year ago

demeringo commented 1 year ago

Bug description

There are some invalid fields in OAS spec of API v0.3.x (dev branch) that prevent validation (or sdk code generation).

To Reproduce

Open the swagger UI, and try to execute the default get route of server archetype config (GET /v1/server/archetype_config )

The value provided by default in the UI is wrong (default query fails).

Online validation of the generated OpenAPI spec as json also fails.

Expected behavior

JSON OUTPUT

Additional context

da-ekchajzer commented 1 year ago

@demeringo the PR is merged. Does it fix this issue?