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

[swagger] Paths in swagger doc should be an array #116

Open
danlange opened this issue Sep 11, 2018 · 0 comments
Open

[swagger] Paths in swagger doc should be an array #116

danlange opened this issue Sep 11, 2018 · 0 comments

Comments

@danlange
Copy link

In the swagger doc (1.18.2), for ApiEntity, UpdateApiEntity, PlanEntity, NewPlanEntity, and UpdatePlanEntity, the "paths" field is defined as a Map<String,Path> ("paths": { "type": "object", "additionalProperties":{"$ref":"#/definitions/Path"}}), but the API itself returns a Map<String,Path[]> ("paths": { "type": "object", "additionalProperties": {"type": "array", "items": { "$ref": "#/definitions/Path" }}})

@plsstephenson plsstephenson changed the title Paths in swagger doc should be an array [swagger] Paths in swagger doc should be an array Jan 28, 2022
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

No branches or pull requests

1 participant