Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger name produces bizzare WireMock mappings #2

Closed
marcingrzejszczak opened this issue Jul 18, 2018 · 0 comments
Closed

Swagger name produces bizzare WireMock mappings #2

marcingrzejszczak opened this issue Jul 18, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@marcingrzejszczak
Copy link
Contributor

$ git clone https://github.com/SvenBayer/spring-cloud-contract-swagger-sample.git
$ cd spring-cloud-contract-swagger-sample/swagger-coffee-producer-simple
$ mvn clean install
$ ls -al target/stubs/META-INF/blog.svenbayer/swagger-coffee-producer-simple/1.0-SNAPSHOT/mappings

produces

➜  swagger-coffee-producer-simple git:(master) ll target/stubs/META-INF/blog.svenbayer/swagger-coffee-producer-simple/1.0-SNAPSHOT/mappings
total 8
-rw-r--r--  1 marcingrzejszczak2  staff   1.4K Jul 18 09:20 Sends a coffee rocket to a bean planet and returns the bean planet..json

this looks bad

Sends a coffee rocket to a bean planet and returns the bean planet..json

I guess the swagger name should be escaped for such chars

@SvenBayer SvenBayer added the enhancement New feature or request label Jul 18, 2018
@SvenBayer SvenBayer added this to the 1.0.2.RELEASE milestone Jul 18, 2018
@SvenBayer SvenBayer self-assigned this Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants