edi3 / edi3.github.io

edi3.github.io
https://edi3.org
8 stars 12 forks source link

SwaggerUI render #8

Open kshychko opened 5 years ago

kshychko commented 5 years ago

We need to render Open API specifications, using the embded swaggerui bundle from unkpg. Codeontap townplanner can be used as a reference: https://github.com/codeontap/townplanner/blob/master/src/_includes/main-swagger.html Possible Open API specification file locations:

specs/{spec_name}/{spec_branch_name}/{spec_file}
specs/{spec_name}/{sub_spec_name}/{spec_branch_name}/{spec_file}

where spec_file can be:

swagger.yml
swagger.yaml
swagger.json

For example:

specs/edi3-uml-profile/master/swagger.yml

or

specs/edi3-trade/master/edi3-invoice/swagger.yml
monkeypants commented 4 years ago

Is this done @kshychko ? Can we close it?