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

Timeout using massive open api definition #4668

Open
ahonnecke opened this issue Dec 18, 2023 · 0 comments
Open

Timeout using massive open api definition #4668

ahonnecke opened this issue Dec 18, 2023 · 0 comments

Comments

@ahonnecke
Copy link

Q&A (please complete the following information)

  • OS: POP_OS
  • Browser: Firefox
  • Version: 120.0.1
  • Method of installation: apt
  • Swagger-Editor version: Online
  • Swagger/OpenAPI version: 3.0.3

Example Swagger/OpenAPI definition:
It's very large.
https://gist.github.com/ahonnecke/55f8ba1f2791d718eec83f4230500f4c

Describe the bug you're encountering

Completely fails to do anything with idiotically large spec file.

To reproduce...

Steps to reproduce the behavior:

  1. Go to https://editor-next.swagger.io/
  2. Import json from https://gist.github.com/ahonnecke/55f8ba1f2791d718eec83f4230500f4c
  3. https://i.imgur.com/N9QJtbs.png (or click on generate client)
  4. https://i.imgur.com/rMr7cq3.png

Expected behavior

Generated a python-flask yaml

Truncated request string

https://i.imgur.com/JQzRfn1.png

{"spec":{"openapi":"3.0.3","info":{"title":"Core API","description":"Reference documentation.\n\nDefault fields in each resource: `organizationId`, `createdAt`, `createdBy`, `updatedAt`, `updatedBy`","version":"0.0.0"},"servers":[{"url":"/","description":""}],"paths":{"/api/core/protected/v1/administration/organization_types":{"get":{"operationId":"getOrganizationTypeCollection","tags":["OrganizationType"],"responses":{"200":{"description":"OrganizationType collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationType.jsonld"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationType"}}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OrganizationType"}}}}}},"summary":"Retrieves the collection of OrganizationType resources.","description":"Retrieves the collection of OrganizationType resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":30,"minimum":0},"style":"form","explode":false,"allowReserved":false},{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"/api/core/protected/v1/administration/organizations":{"get":{"operationId":"getOrganizationCollection","tags":["Organization"],"responses":{"200":{"description":"Organization collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/Organization.jsonld-organization.list"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Organization-organization.list"}}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Organization-organization.list"}}}}}},"summary":"Retrieves the collection of Organization resources.","description":"Retrieves the collection of Organization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":30,"minimum":0},"style":"form","explode":false,"allowReserved":false},{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false},{"name":"name","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"website","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"order[name]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"order[website]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"order[type]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"type","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"type[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postOrganizationCollection","tags":["Organization"],"responses":{"201":{"description":"Organization resource created","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Organization.jsonld-organization.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/Organization-organization.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/Organization-organization.view"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET /api/core/protected/v1/administration/organizations/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Organization resource.","description":"Creates a Organization resource.","parameters":[],"requestBody":{"description":"The new Organization resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Organization.jsonld-organization.write"}},"application/json":{"schema":{"$ref":"#/components/schemas/Organization-organization.write"}},"text/html":{"schema":{"$ref":"#/components/schemas/Organization-organization.write"}}},"required":true},"deprecated":false},"parameters":[]},"/api/core/protected/v1/administration/organizations/{id}":{"get":{"operationId":"getOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Organization.jsonld-organization.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/Organization-organization.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/Organization-organization.view"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Organization resource.","description":"Retrieves a Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putOrganizationItem","tags":["Organization"],"responses":{"200":{"description":"Organization resource updated","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Organization.jsonld-organization.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/Organization-organization.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/Organization-organization.view"}}},"links":{"GetOrganizationItem":{"operationId":"getOrganizationItem","parameters":{"id":"$response.body#/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET /api/core/protected/v1/administration/organizations/{id}`."}}},"400":{"description":"Invalid input"},"404":{"description":"Resource not found"},"422":{"description":"Unprocessable entity"}},"summary":"Replaces the Organization resource.","description":"Replaces the Organization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Organization resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Organization.jsonld-organization.write"}},"application/json":{"schema":{"$ref":"#/components/schemas/Organization-organization.write"}},"text/html":{"schema":{"$ref":"#/components/schemas/Organization-organization.write"}}},"required":true},"deprecated":false},"parameters":[]},"/api/core/protected/v1/administration/user_organizations":{"get":{"operationId":"getUserOrganizationCollection","tags":["UserOrganization"],"responses":{"200":{"description":"UserOrganization collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/UserOrganization.jsonld-user_organization.list"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserOrganization-user_organization.list"}}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserOrganization-user_organization.list"}}}}}},"summary":"Retrieves the collection of UserOrganization resources.","description":"Retrieves the collection of UserOrganization resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":30,"minimum":0},"style":"form","explode":false,"allowReserved":false},{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false},{"name":"userId","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"organizationId","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer"},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postUserOrganizationCollection","tags":["UserOrganization"],"responses":{"201":{"description":"UserOrganization resource created","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/UserOrganization.jsonld-user_organization.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.view"}}},"links":{"GetUserOrganizationItem":{"operationId":"getUserOrganizationItem","parameters":{"userId":"$response.body#/userId","organizationId":"$response.body#/organizationId"},"description":"The values returned in the response can be used in `GET /api/core/protected/v1/administration/user_organizations/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a UserOrganization resource.","description":"Creates a UserOrganization resource.","parameters":[],"requestBody":{"description":"The new UserOrganization resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/UserOrganization.jsonld-user_organization.write"}},"application/json":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.write"}},"text/html":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.write"}}},"required":true},"deprecated":false},"parameters":[]},"/api/core/protected/v1/administration/user_organizations/{id}":{"get":{"operationId":"getUserOrganizationItem","tags":["UserOrganization"],"responses":{"200":{"description":"UserOrganization resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/UserOrganization.jsonld-user_organization.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.view"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a UserOrganization resource.","description":"Retrieves a UserOrganization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"put":{"operationId":"putUserOrganizationItem","tags":["UserOrganization"],"responses":{"200":{"description":"UserOrganization resource updated","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/UserOrganization.jsonld-user_organization.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.view"}}},"links":{"GetUserOrganizationItem":{"operationId":"getUserOrganizationItem","parameters":{"userId":"$response.body#/userId","organizationId":"$response.body#/organizationId"},"description":"The values returned in the response can be used in `GET /api/core/protected/v1/administration/user_organizations/{id}`."}}},"400":{"description":"Invalid input"},"404":{"description":"Resource not found"},"422":{"description":"Unprocessable entity"}},"summary":"Replaces the UserOrganization resource.","description":"Replaces the UserOrganization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated UserOrganization resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/UserOrganization.jsonld-user_organization.write"}},"application/json":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.write"}},"text/html":{"schema":{"$ref":"#/components/schemas/UserOrganization-user_organization.write"}}},"required":true},"deprecated":false},"delete":{"operationId":"deleteUserOrganizationItem","tags":["UserOrganization"],"responses":{"204":{"description":"UserOrganization resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the UserOrganization resource.","description":"Removes the UserOrganization resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"/api/core/protected/v1/asset_types":{"get":{"operationId":"getAssetTypeCollection","tags":["AssetType"],"responses":{"200":{"description":"AssetType collection","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssetType"}}}}}},"summary":"Retrieves the collection of AssetType resources.","description":"Retrieves the collection of AssetType resources.","parameters":[],"deprecated":false},"parameters":[]},"/api/core/protected/v1/attachment/attachments":{"get":{"operationId":"getAttachmentCollection","tags":["Attachment"],"responses":{"200":{"description":"Attachment collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/Attachment.AttachmentResponse.jsonld-attachment.view"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.view"}}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.view"}}}}}},"summary":"Retrieves the collection of Attachment resources.","description":"Retrieves the collection of Attachment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":30,"minimum":0},"style":"form","explode":false,"allowReserved":false},{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false},{"name":"resourceId","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"resourceId[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"order[createdAt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"order[updatedAt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"post":{"operationId":"postAttachmentCollection","tags":["Attachment"],"responses":{"201":{"description":"Attachment resource created","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse.jsonld-attachment.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.view"}}},"links":{"GetAttachmentItem":{"operationId":"getAttachmentItem","parameters":{"id":"$response.body#/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET /api/core/protected/v1/attachment/attachments/{id}`."}}},"400":{"description":"Invalid input"},"422":{"description":"Unprocessable entity"}},"summary":"Creates a Attachment resource.","description":"Creates a Attachment resource.","parameters":[],"requestBody":{"description":"","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"resourceId":{"type":"string"}}}}},"required":false},"deprecated":false},"parameters":[]},"/api/core/protected/v1/attachment/attachments/resource/{id}":{"get":{"operationId":"get_attachments_for_resource_idAttachmentCollection","tags":["Attachment"],"responses":{"200":{"description":"Attachment collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/Attachment.AttachmentResponse.jsonld-attachment.list"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.list"}}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.list"}}}}}},"summary":"Retrieves the collection of Attachment resources.","description":"Retrieves the collection of Attachment resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":30,"minimum":0},"style":"form","explode":false,"allowReserved":false},{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false},{"name":"resourceId","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"resourceId[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"order[createdAt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"order[updatedAt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false}],"deprecated":false},"parameters":[]},"/api/core/protected/v1/attachment/attachments/{id}":{"get":{"operationId":"getAttachmentItem","tags":["Attachment"],"responses":{"200":{"description":"Attachment resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse.jsonld-attachment.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.view"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Attachment resource.","description":"Retrieves a Attachment resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"delete":{"operationId":"deleteAttachmentItem","tags":["Attachment"],"responses":{"204":{"description":"Attachment resource deleted"},"404":{"description":"Resource not found"}},"summary":"Removes the Attachment resource.","description":"Removes the Attachment resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false},"patch":{"operationId":"patchAttachmentItem","tags":["Attachment"],"responses":{"200":{"description":"Attachment resource updated","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse.jsonld-attachment.view"}},"application/json":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.view"}},"text/html":{"schema":{"$ref":"#/components/schemas/Attachment.AttachmentResponse-attachment.view"}}},"links":{"GetAttachmentItem":{"operationId":"getAttachmentItem","parameters":{"id":"$response.body#/id"},"description":"The `id` value returned in the response can be used as the `id` parameter in `GET /api/core/protected/v1/attachment/attachments/{id}`."}}},"400":{"description":"Invalid input"},"404":{"description":"Resource not found"},"422":{"description":"Unprocessable entity"}},"summary":"Updates the Attachment resource.","description":"Updates the Attachment resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"requestBody":{"description":"The updated Attachment resource","content":{"application/merge-patch+json":{"schema":{"$ref":"#/components/schemas/Attachment-attachment.update_property"}}},"required":true},"deprecated":false},"parameters":[]},"/api/core/protected/v1/business_log/logs":{"get":{"operationId":"getLogCollection","tags":["Log"],"responses":{"200":{"description":"Log collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/Log.LogResponse.jsonld-business_log.list_business_log.collection.get"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Log.LogResponse-business_log.list_business_log.collection.get"}}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Log.LogResponse-business_log.list_business_log.collection.get"}}}}}},"summary":"Retrieves the collection of Log resources.","description":"Retrieves the collection of Log resources.","parameters":[{"name":"page","in":"query","description":"The collection page number","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":1},"style":"form","explode":false,"allowReserved":false},{"name":"itemsPerPage","in":"query","description":"The number of items per page","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"integer","default":30,"minimum":0},"style":"form","explode":false,"allowReserved":false},{"name":"pagination","in":"query","description":"Enable or disable pagination","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"boolean"},"style":"form","explode":false,"allowReserved":false},{"name":"order[dateCreated]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string","enum":["asc","desc"]},"style":"form","explode":false,"allowReserved":false},{"name":"resourceId","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"resourceId[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"dictionaryKey","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"dictionaryKey[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false},{"name":"userId","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"userId[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false},"parameters":[]},"/api/core/protected/v1/business_log/logs/{id}":{"get":{"operationId":"getLogItem","tags":["Log"],"responses":{"200":{"description":"Log resource","content":
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

1 participant