Hi, I am calling openapi3filter.ValidateRequest() (via https://github.com/deepmap/oapi-codegen/blob/master/pkg/chi-middleware/oapi_validate.go#L23) and I am getting
panic: Validating Swagger failed: invalid components: found unresolved ref: "#/components/schemas/product-price-schema"
If I remove the places that use product-price-schema, the same thing happens to stat-schema. As far as I can tell the JSON is according to spec.
The OpenAPI3 JSON is here (https://globalsteam.online/api/globalsteam.json), both the schemas exist inside #/components/schemas/
Any ideas? Thanks.
Hi, I am calling openapi3filter.ValidateRequest() (via https://github.com/deepmap/oapi-codegen/blob/master/pkg/chi-middleware/oapi_validate.go#L23) and I am getting
If I remove the places that use
product-price-schema, the same thing happens tostat-schema. As far as I can tell the JSON is according to spec.The OpenAPI3 JSON is here (https://globalsteam.online/api/globalsteam.json), both the schemas exist inside
#/components/schemas/Any ideas? Thanks.