@m3-moretv/smogger
v1.1.3
Published
Mock server for OpenAPI v3 spec
Downloads
4
Readme
Простой mock сервер для OpenAPI v3
Установка и запуск
npm i -g @m3-moretv/smogger
npx @m3-moretv/smogger -s ./spec.yaml
Требования к спецификации OpenAPI
- Mock сервер умеет работать только со спецификацией 3й версии.
- Для генерации данных используется Faker.js. Для уточнения формата данных необходимо описывать их в поле
format
:
type: string
format: name.firstName
Comments
Сейчас генерятся только ответы application/json с кодом 200
Supported by MoreTV with ❤️