question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mock URL with no dispatcher does not work - OpenAPI import issue

See original GitHub issue

Hi all,

I am following this way for having Apicurio + Microcks + Keycloak with Docker.

I have created a dummy API just for testing, with examples. I can Mock it from Apicurio.

The problem comes when I copy the Mock URL and I try to make a request to that endpoint. I get this in the console:

i.github.microcks.web.RestController: No valid operation found and Microcks configured to not apply CORS policy

No matter if I make the request from RESTED, using cURL or directly from my browser (I am trying a GET request)

Am I missing something in the configuration?

Thanks a lot in advance

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lbroudouxcommented, Oct 21, 2021

Fix is available on quay.io/microcks/microcks:latest. Proceeding to release now.

0reactions
igorreciohcommented, Oct 21, 2021

Hi @lbroudoux!

Sounds good then, thank you for that. Let me know if you need more info from my side related to this issue, if it can help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test with a GET with URI_PARTS dispatcher result in ... - GitHub
After a succesful import and validation of the dispatcher (changed from URI_ELEMENTS to URI_PARTS) the test fails with the exact same problem (a...
Read more >
Advanced Dispatching and Constraints for mocks | Microcks.io
The purpose of this post is to explain the advanced dispatching and constraint features available when mocking a REST API using Microcks.
Read more >
microcks/microcks - Gitter
I have quite a problem with Apicurio integration. Every time I create a path with some parameters and import it to Microcks, no...
Read more >
Swagger/OpenAPI mock server - Stack Overflow
An easy way to create simple mock from an OpenAPI (fka Swagger) spec without code is to use a tool call prism available...
Read more >
Import/export in OpenAPI format - Mockoon
Learn how to easily import and export or share with your team your mock API servers and routes using the OpenAPI specification.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found