vmware / vmware-openapi-generator

VMware-openapi-generator tool generates open-api documents from vapi metamodel format.
Other
23 stars 19 forks source link

Extract host as input parameter #43

Closed qiuminwei closed 5 years ago

qiuminwei commented 5 years ago

By the new input parameter you can replace the host with the real hostname/IP, then generate a callable swagger json, or use the default value: .

Signed-off-by: MinweiQiu whou@vmware.com

sreeshas commented 5 years ago

Host need not be passed around everywhere. for a given swagger document there can only be one host. its okay to make it a global variable

qiuminwei commented 5 years ago

@sreeshas Fixed