Questions tagged [stoplight]

19 questions
3
votes
1 answer

Convert Stoplight OpenAPI 3.1 to 3.0

I have a use case where I need to covert OpenAPI from 3.1 to 3.0 due to a compatibility issue with Azure. Has anyone worked on this use case? Your help will be appreicated
Batman 21
  • 53
  • 6
1
vote
1 answer

Copying files using Docker Compose

I am new to Docker Compose, and I was trying modify an example on serving multiple OpenAPI documents using Stoplight Prism. I have the file I want to copy under the directory /reference/Offers/Offers-APIs.v1.json, and in the project's root…
qli
  • 25
  • 3
1
vote
0 answers

Stoplight prism returning null when referencing a .json file in .yaml using $ref

I have a .yaml file, api_spec.yaml, and it's up and running. Inside, there's one endpoint (paths:) where I'm trying to refer to the entire request_payload.json file, stored in the same directory as api_spec.yaml. /users: get: summary:…
qli
  • 25
  • 3
1
vote
0 answers

How to insert a custom flow chart at the end of the overview page in Stoplight elements documentation?

I have a backend API providing data for documentation in OpenAPI JSON format. This is how the API data looks right now: { "openapi": "3.0.0", "info": { "title": "Express API docs :D", "version": "1.0.0", …
Light Yagami
  • 961
  • 1
  • 9
  • 29
1
vote
0 answers

Spectral Lint whole project (all YAML/JSON files) in IntelliJ

I am working on spectral linting tool to linting the API (YAML/JSON). I want to lint all the files (YAML/JSON) which are available in the project using IntelliJ. Please share the details to setup and process if anyone worked on Spectral Linting…
VEER SINGH
  • 11
  • 1
1
vote
1 answer

How to use web components in vuepress

I'm trying to integrate Stoplight to our vuepress site. We are doing this by adding a web component called elements-api which is provided by stoplight. Here is what I have done so far. APIStopLight.vue