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.

openapiPath directory resolution

See original GitHub issue

Interestingly, the openapiPath doesn’t work if I just provide a raw string (relative to the root of the repo directory). I have to this to make it work:

module.exports.plugins[0][1].openapiPath = require.resolve(module.exports.plugins[0][1].openapiPath); 

What kind of raw path is expected for it to work? Something like ../../../openapi.json?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bourdakos1commented, Nov 30, 2021

There’s a few breaking changes in master so I want to wait a little bit longer to make sure everything is finalized before cutting a release

0reactions
avaidyamcommented, Nov 30, 2021

@bourdakos1 Actually, could you please create a new release so that I can test this out?

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenAPI Specification - Version 3.0.3 - Swagger
A declaration of which security mechanisms can be used across the API. The list of values includes alternative security requirement objects that can...
Read more >
Using OpenAPI and Swagger UI - Quarkus
The solution is located in the openapi-swaggerui-quickstart directory. Creating the Maven project. First, we need a new project. Create a new project with...
Read more >
F.A.Q - Springdoc-openapi
You can set list of paths to include using the following property: ... by setting springdoc.api-docs.resolve-schema-properties to true ...
Read more >
json-ref-resolver/resolver.spec.ts at master - GitHub
[Deprecated] Recursively resolve JSON pointers and remote authorities. - json-ref-resolver/resolver.spec.ts at master · stoplightio/json-ref-resolver.
Read more >
Getting started | tsoa - GitHub Pages
Create a new folder for our project mkdir tsoa-project cd tsoa-project # Create a ... Routing in tsoa is closely mirroring OpenAPI's path...
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