Skip to content
Advertisement

Tag: swagger-ui

OpenApi for php doesn’t render enum values correctly

I am building some documentation using OpenApi and Swagger, but I am unable to test it because of a js error. I want to define a parameter that will accept specific values so I added enum in the schema attribute. I am defining the orderBy parameter in a GET request like this When the documentation is generated I am getting

Advertisement