swagger-test-templates icon indicating copy to clipboard operation
swagger-test-templates copied to clipboard

How to specify URL?

Open tkirby opened this issue 6 years ago • 1 comments

How to change loclahost:10010 to the actual address of my server?

tkirby avatar Aug 14 '18 08:08 tkirby

Hi! This isn't documented, apologies, but if you define the top level host property in your API spec, it will be reflected in the generated tests. localhost:10010 is just the default for when that does not exist.

If this answers your question fully, please close the issue! Thanks! and thanks for using STT! Have you tried https://github.com/google/oatts? I basically rewrote this project to make a little more sense and drop some of the features I thought of as bloat. Check it out and see if it suits your needs! Always looking for feature requests and bugs. Of course, I am happy to support you here too.

noahdietz avatar Aug 14 '18 16:08 noahdietz