carlansley / swagger2

Loading, parsing and validating requests to HTTP services based on Swagger v2.0 documents
MIT License
25 stars 17 forks source link

Is it possible to include template strings in the document? #28

Closed bag-man closed 5 years ago

bag-man commented 5 years ago

I would like to include templated strings for the server, but this doesn't appear to be supported with loadDocumentSync.

Am I missing something, or would it need to be added as a feature?

carlansley commented 5 years ago

I believe this is an OpenAPI 3 feature, this project only supports Swagger v2. However we are working on a new project that supports both, will update the documentation here once it is ready.