expectation
create expectations from OpenAPI or Swagger
put/mockserver/openapi
Request
- Base URL: http://localhost:1080
- URL: http://localhost:1080/mockserver/openapi
- Auth: none declared
Query parameters
includeLoadProblemsboolean
when true, the 201 body is an object holding the upserted expectations and the load problems of each spec, instead of a bare list of upserted expectations
Request body
Response
expectations created; a spec that loads but breaks the OpenAPI rules still creates expectations, and its load problems are counted in the x-mockserver-openapi-load-problems header
Changes
No recorded changes to this operation across all 1 revision of this API.