You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the spec, https://gist.github.com/sam75/8a7e721db5c6c58180497e65cdd22294, the GET API's for the path "/northstar/configuration" does not work. If we notice the corresponding configuration_schema.go, it was observed that it had "allOf" composition. It looks like json serialization issue.
Could you guide as to how to resolve the issue? Do let me know if any other auto-generated code is needed for inspection.
@sam75 your spec generates and builds fine.
Could you provide a description of the error you are encountering? (like a curl session demonstrating your marshaling issue?)
Problem statement
In the spec, https://gist.github.com/sam75/8a7e721db5c6c58180497e65cdd22294, the GET API's for the path "/northstar/configuration" does not work. If we notice the corresponding configuration_schema.go, it was observed that it had "allOf" composition. It looks like json serialization issue.
Could you guide as to how to resolve the issue? Do let me know if any other auto-generated code is needed for inspection.
Swagger specification
swagger.yaml location: https://gist.github.com/sam75/8a7e721db5c6c58180497e65cdd22294
model (configuration_schema.go) location: https://gist.github.com/sam75/e50ea4f1af913e8f5c05084d83a0556f
Environment
swagger version: 0.23.0
go version: 1.11
OS:
The text was updated successfully, but these errors were encountered: