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.

Issue on mocking with Microcks

See original GitHub issue

After updating to version 0.2.50.Final the Mock feature stopped to work. An error message return on screen and the following message appear in apicurio-studio-api logs:

2021-09-30 19:30:26,175 ERROR [io.undertow.request] (default task-93) UT005023: Exception handling request to /designs/33/mocks: org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)) in numeric value: expected digit (0-9) to follow minus sign, for valid numeric value
 at [Source: (String)"---
openapi: 3.0.2
info:
  title: fis-api-sample
  version: "1"

It seems trying to parse the yaml as it was a Json.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:22 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
EricWittmanncommented, Nov 1, 2021

Release is done. I’m in the process of upgrading https://studio.apicur.io/ Should be done today barring any unexpected problems.

1reaction
narramadancommented, Nov 3, 2021

Tested with latest-release docker images and the issue is resolved.

Thanks @EricWittmann

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using exposed mocks | Microcks.io
These elements are used by Microcks for finding an appropriate response to return when receiving a mock request.
Read more >
Mocking Microservices Made Easy with Microcks
Microservices Mocks (Microcks) is a new tool trying to solve this problem and addressing the concerns above. Its goal is to provide a...
Read more >
Integrate Microcks for mocking your API - Apicurio
Microcks is an Open Source platform for easily exposing API and WebServices mocks using examples coming from different types of assets (OpenAPI specifications, ......
Read more >
Lab 02 - API Mocking - Red Hat | Public Sector
When deploying API, micro-services or SOA practices at large scale, Microcks solves the problems of providing and sharing consistent documentation and mocks ......
Read more >
Microcks (@microcksio) / Twitter
Microcks is a powerful tool that helps you mock and test your APIs. ... Introduce new 'Test conformance' metric · Issue #646 ·...
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