interagent / prmd

JSON Schema tools and doc generation for HTTP APIs
MIT License
2.1k stars 172 forks source link

what's the meaning of the name "prmd"? #308

Closed goto100 closed 8 years ago

goto100 commented 8 years ago

I'm writing a mock tool with prmd schema standard, I want to name it with a similar name like prmd-mock, but I don't know the extacly meaning of prmd, can you explain it?

geemus commented 8 years ago

It's short for "pyramid" and was kind of an inside joke. Basically it felt like we were trying to use schema for everything (validation, client-generation, documentation, etc) and I joked that it felt like a pyramid scheme (ie too good to be true). The name just kind of stuck.

I'm not sure what you want to do with the mocks exactly, but you may want to check out the committee stub middleware, as it might already do some of what you want: https://github.com/interagent/committee#committeemiddlewarestub

goto100 commented 8 years ago
  1. I'm not using ruby;
  2. committee-stub don't generate data, just get data from example;

I'm writing a Node.js mock tools to generate mock data with json-schema-faker and ajv.

geemus commented 8 years ago

Got it, thanks for the clarification.

goto100 commented 8 years ago

Do you have any recommendation on naming my mock tool? I think prmd-mock is not very suitable :)

geemus commented 8 years ago

@goto100 that sounds good to me, go for it!

goto100 commented 8 years ago

Thanks~

goto100 commented 8 years ago

@geemus I've released my mock tool, welcome to have a try~

https://github.com/goto100/prmd-mock

geemus commented 8 years ago

Congrats and thanks for the heads up!

On Wed, Sep 14, 2016 at 2:58 AM, goto100 notifications@github.com wrote:

@geemus https://github.com/geemus I've released my mock tool, welcome to have a try~

https://github.com/goto100/prmd-mock

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/interagent/prmd/issues/308#issuecomment-246935382, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAQKvx9EOE1Q9FYcieNg5o0EhyiXFZyks5qp6kagaJpZM4J7Z2p .