Not found page with html and moved utils into index and split http requests to separate files.
Static dir for hosting html files. Helper function for loading HTML. Changed location where openapi.html is generated and updated dockerfile
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
"author": "Martin Berg Alstad",
|
||||
"scripts": {
|
||||
"tsp-compile": "tsp compile . --output-dir dist",
|
||||
"redoc-build": "redocly build-docs dist/@typespec/openapi3/openapi.v2.yaml --output dist/index.html"
|
||||
"redoc-build": "redocly build-docs dist/@typespec/openapi3/openapi.v2.yaml --output ../src/resources/static/openapi.html"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typespec/compiler": "latest",
|
||||
|
Reference in New Issue
Block a user