open-api icon indicating copy to clipboard operation
open-api copied to clipboard

openapi-framework: fix backslahses problems when on windows

Open rossi-p opened this issue 2 years ago • 3 comments

This commit solves the problem with windows file system when generating the swagger file with openapi-framework. With this commit the swagger is now generating the docs with ('/') instead of the ('').

rossi-p avatar May 24 '23 18:05 rossi-p

@rossi-p how is this different from https://github.com/kogosoftwarellc/open-api/pull/869 ?

jsdevel avatar May 25 '23 14:05 jsdevel

@jsdevel The PR 869 solves the problem when creating the server with Express, but it still generates a Swagger file with paths using backslashes ( \ ).

rossi-p avatar May 25 '23 18:05 rossi-p

PR 877 is an alternative PR that modifies the package fs-routes instead of openapi-framework. It also solves the swagger issue mentioned by rossi-p.

renkei avatar Jun 03 '23 09:06 renkei