Contributions
Possible just to create models with swagger generator?
I develop in Go, and have created a server w/ Swagger. I have another test job, unconnected from the server, that I need the models from that server so that I can call the server and populate the object with to see if anything came back unexpected or missing. Anybody have any ideas? Thanks! EDIT: For the record, I can't manually copy the models over. It needs to be automated.846Views0likes0CommentsRetrieve info: data from swagger after generation...
At the top of my swagger, I have the following: swagger: '2.0' info: title: TEST API description: Developer API for testing purposes version: "1.0.7" x-last-updated: "2018-12-26T14:40:08+00:00" Once I use this swagger to generate my server (golang), I need to be able to retrieve the version and/or x-last-updated field. Is this information carried over to the generated code somewhere that I'm able to retrieve it, or does it always just reside in the swagger file itself and not used during the generation process?Solved2.2KViews0likes2Comments