openconnectivityfoundation / swagger2doc

Swagger2.0 to word document conversion tool
Other
6 stars 6 forks source link

Well-known vs. Example URI #5

Open marktrayer opened 5 years ago

marktrayer commented 5 years ago

Code currently assumes all URIs in an Annex (-annex True) are "Wellknown", if not in an Annex then they're Examples.

This does not hold true as a generalization (see Core resources). Probably need a new command line switch (e.g. -wellknown) to trigger the logic.

Also spelling "Wellknown" -> "Well-known".

WAvdBeek commented 5 years ago

fixed, see latest commit

marktrayer commented 5 years ago

The spelling of well-known is now correct. Is there a mechanism to include a heading of 'Example URI' even if an Annex (for example needed for oic.r.icon and some other Core resources)?

WAvdBeek commented 5 years ago

yes that should be possible when one is using