Closed pankalog closed 3 months ago
Fix provided here. If we would want to make it consistent with the OpenAPI spec, we would need to generate a version for each release, or use the same version, but we do need to include a version number.
fixed in openremote/openremote#1201
Using this OpenAPI spec parser, I was able to understand that there needs to be a 'version' property in the info Object, as the spec says in their definition.
By adding that property, the file is able to be parsed by postmanlabs/openapi-to-postman, to then be imported as a Postman collection. It's a nice way to test the backend, and with some tweaking in the collection, get OAuth working with refresh tokens as well. This allows full usage of the OpenRemote HTTP API on any deployment/manager runtime, without having to use the frontend authentication of Swagger.
If need be I can attach my collection.json file here so that people can import it and test it out.