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

Config file compatible with version 2.0.0-alpha.7 #106

Closed
j4gh opened this issue Dec 4, 2017 · 7 comments
Closed

Config file compatible with version 2.0.0-alpha.7 #106

j4gh opened this issue Dec 4, 2017 · 7 comments

Comments

@j4gh
Copy link

j4gh commented Dec 4, 2017

Hello,

I've been attempting to toy with the 2.0.0-alpha.7 build and have noticed the existing documentation doesn't appear to apply. I understand the official documentation is for version 0.6.21 since that's the current (non alpha/beta) version.

Is there a location with newer documentation for 2.x? If not, is there at least a location with a newer config file than this?
https://help.stoplight.io/prism/getting-started/custom-configuration

When trying to base a config file off of this, it appears Prism is ignoring my attempt to change the port (a well as other settings).

I apologize if this has been asked before, I wasn't able to find this particular question. Any help is greatly appreciated!

Thanks,
John

@pytlesk4
Copy link
Contributor

pytlesk4 commented Dec 5, 2017

Great question @j4gh, we are currently writing some tools to help you migrate your config file to a prism instance file. Also, we are writing documentation as fast as we can right now. Hope to have it out in the next week. The the prism run command doesn't exist anymore, and it has been replace with prism serve, which takes a prism instance file.

Also, we are adding support to generate commands for you, stoplightio/desktop#101

Let me know if you have any questions!

@j4gh
Copy link
Author

j4gh commented Dec 5, 2017

Ah great, thanks very much!

@j4gh j4gh closed this as completed Dec 5, 2017
@pytlesk4
Copy link
Contributor

pytlesk4 commented Dec 5, 2017

No problem, going to keep this open so other people can see it too.

@pytlesk4 pytlesk4 reopened this Dec 5, 2017
@hassanselim0
Copy link

hassanselim0 commented Jan 8, 2018

Where can I find a sample prism instance file?

Edit: I want the equivalent of prism run --mock --list --spec swagger.yaml

@pytlesk4
Copy link
Contributor

pytlesk4 commented Jan 8, 2018

@hassanselim0 https://next.stoplight.io/stoplight/prism/blob/master/todos.mocker.prism.yml

This project has some good examples set up.

Releasing docs today too on how to set up instances, will post them shortly.

@pytlesk4
Copy link
Contributor

pytlesk4 commented Feb 1, 2018

Latest prism release makes it really easy to mock a OAS specification, going to close this now.

2.0.0-beta.9-3

@pytlesk4 pytlesk4 closed this as completed Feb 1, 2018
@meahow
Copy link

meahow commented Oct 6, 2018

DId you actually release the docs ?
I can't find the up to date ones.
This has the old commands...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants