vmware / vmware-openapi-generator

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

Merging specifications handling #58

Closed antonOO closed 4 years ago

antonOO commented 4 years ago

Duplicate rest/api final_path_processing files have been removed from swagger and openapi folders, they are extracted under lib. Also, another FileOutputHandler class is introduced, responsible for handling the IO logic - merged or split files (api and rest) output.

The rest/api processing url files have been renamed and the process_service_url method is refactored (separation in concerns was taken into consideration in this refactoring).

Signed-off-by: Anton Obretenov obretenova@vmware.com