diff --git a/seed/openapi/accept-header/.mock/definition/api.yml b/seed/openapi/accept-header/.mock/definition/api.yml new file mode 100644 index 00000000000..4c370c1686d --- /dev/null +++ b/seed/openapi/accept-header/.mock/definition/api.yml @@ -0,0 +1,4 @@ +name: accept +auth: bearer +error-discrimination: + strategy: status-code diff --git a/seed/openapi/accept-header/.mock/definition/service.yml b/seed/openapi/accept-header/.mock/definition/service.yml new file mode 100644 index 00000000000..1ea148bbf00 --- /dev/null +++ b/seed/openapi/accept-header/.mock/definition/service.yml @@ -0,0 +1,16 @@ +errors: + NotFoundError: + docs: Admin not found + status-code: 404 + type: unknown + +service: + auth: true + base-path: /container + endpoints: + endpoint: + errors: + - NotFoundError + method: DELETE + path: / + diff --git a/seed/openapi/accept-header/.mock/fern.config.json b/seed/openapi/accept-header/.mock/fern.config.json new file mode 100644 index 00000000000..4c8e54ac313 --- /dev/null +++ b/seed/openapi/accept-header/.mock/fern.config.json @@ -0,0 +1 @@ +{"organization": "fern-test", "version": "*"} \ No newline at end of file diff --git a/seed/openapi/accept-header/.mock/generators.yml b/seed/openapi/accept-header/.mock/generators.yml new file mode 100644 index 00000000000..0967ef424bc --- /dev/null +++ b/seed/openapi/accept-header/.mock/generators.yml @@ -0,0 +1 @@ +{} diff --git a/seed/openapi/accept-header/openapi.yml b/seed/openapi/accept-header/openapi.yml new file mode 100644 index 00000000000..79b6409050a --- /dev/null +++ b/seed/openapi/accept-header/openapi.yml @@ -0,0 +1,27 @@ +openapi: 3.0.1 +info: + title: accept + version: '' +paths: + /container/: + delete: + operationId: service_endpoint + tags: + - Service + parameters: [] + responses: + '204': + description: '' + '404': + description: '' + content: + application/json: + schema: {} + security: + - BearerAuth: [] +components: + schemas: {} + securitySchemes: + BearerAuth: + type: http + scheme: bearer diff --git a/seed/openapi/accept-header/snippet-templates.json b/seed/openapi/accept-header/snippet-templates.json new file mode 100644 index 00000000000..e69de29bb2d diff --git a/seed/openapi/accept-header/snippet.json b/seed/openapi/accept-header/snippet.json new file mode 100644 index 00000000000..e69de29bb2d