You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple resource class with a simple POST api.
I try to generate openapi documentation and download it as a yaml file.
When the path length doesn't reach 128 byte, the generated file is ok,
but, if the path length reach the 128+ bytes, the generated file is in an wrong format.
below is an example:
@Path("/api/v1/internal/export/{aaaa_id}/customers/{bbbbbbbb_id}/xxxxxxxxxxxxxxxxxxxxxxxy/{ccccccccccccccc_id}/{ddddddddddddddddddd_id}") (length: 128) --> the generated openapi yaml file is in a wrong format
Generated file:
@Path("/api/v1/internal/export/{aaaa_id}/customers/{bbbbbbbb_id}/xxxxxxxxxxxxxxxxxxxxxxx/{ccccccccccccccc_id}/{ddddddddddddddddddd_id}") (length: 127) --> the generated openapi yaml file is ok
Generated file:
The text was updated successfully, but these errors were encountered:
I have a simple resource class with a simple POST api.
I try to generate openapi documentation and download it as a yaml file.
When the path length doesn't reach 128 byte, the generated file is ok,
but, if the path length reach the 128+ bytes, the generated file is in an wrong format.
below is an example:
@Path("/api/v1/internal/export/{aaaa_id}/customers/{bbbbbbbb_id}/xxxxxxxxxxxxxxxxxxxxxxxy/{ccccccccccccccc_id}/{ddddddddddddddddddd_id}")
(length: 128) --> the generated openapi yaml file is in a wrong formatGenerated file:
@Path("/api/v1/internal/export/{aaaa_id}/customers/{bbbbbbbb_id}/xxxxxxxxxxxxxxxxxxxxxxx/{ccccccccccccccc_id}/{ddddddddddddddddddd_id}")
(length: 127) --> the generated openapi yaml file is okGenerated file:
The text was updated successfully, but these errors were encountered: