papsign / Ktor-OpenAPI-Generator

Ktor OpenAPI/Swagger 3 Generator
Apache License 2.0
241 stars 42 forks source link

Adding test to demonstrate failing security scheme generation #67

Closed sigmanil closed 4 years ago

sigmanil commented 4 years ago

Adds a test server demonstrating how JWT authentication can be implemented, and a test (CURRENTLY FAILING) using that test server that demonstrates that security scheme generation currently isn't working the way it did in 0.2-beta.7 (If the test is run in that version, it passes.)

To maintain green build, should NOT be merged until after the security scheme generation is fixed.

Created to help solve issue #64

Wicpar commented 4 years ago

It is fixed, i don't see where to merge the changes with this PR though.

sigmanil commented 4 years ago

@Wicpar I merged your changes into my branch now, so if you'd like to include the test you should be able to merge this pullreq now. (Should I have set this up in some other way? 🤔 )