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 appears to have gone haywire #440

Closed
turt2live opened this issue Jan 7, 2019 · 5 comments
Closed

Swagger appears to have gone haywire #440

turt2live opened this issue Jan 7, 2019 · 5 comments
Labels
bug Something is broken.

Comments

@turt2live
Copy link
Member

https://matrix.org/docs/api/client-server/#!/Server32administration/getWellknown
Example has 'application/json' as a property

@jryans
Copy link

jryans commented Jan 7, 2019

Many (but not all) other APIs seems similarly affected.

@jryans jryans changed the title Swagger for .well-known appears to have gone haywire Swagger appears to have gone haywire Jan 8, 2019
@jryans
Copy link

jryans commented Jan 8, 2019

This issue does not occur if I use the Matrix API spec with the Swagger UI demo at http://petstore.swagger.io. (I had to serve the API spec locally to test it in order to get around CORS issues.)

This suggests that updating the version of Swagger UI will fix this.

@turt2live
Copy link
Member Author

That's not fun :(

Last I recall us doing that, it went downhill quickly.

@turt2live
Copy link
Member Author

Moving to the matrix.org repo because this isn't a spec problem - it's a presentation problem.

@turt2live turt2live transferred this issue from matrix-org/matrix-spec-proposals May 28, 2019
@turt2live turt2live added the bug Something is broken. label May 28, 2019
@afranke
Copy link
Contributor

afranke commented Dec 6, 2021

The viewer has changed in the meantime (#1081) and it will soon use a newer version of the spec which is not generated the same way. Things have changed, and I am going to guess this is not relevant anymore. Feel free to reopen if you can reproduce with the current setup.

@afranke afranke closed this as completed Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

No branches or pull requests

3 participants