Skip to main content

OpenApi incorrect format


Forum|alt.badge.img+4

Your OpenApi yaml files:

www.revenuecat.com/docs/redocusaurus/plugin-redoc-0.yaml

www.revenuecat.com/docs/redocusaurus/plugin-redoc-1.yaml

www.revenuecat.com/docs/redocusaurus/plugin-redoc-2.yaml

www.revenuecat.com/docs/redocusaurus/plugin-redoc-3.yaml

lack format specifier for integers explained in OpenAPI standard:

https://spec.openapis.org/oas/v3.1.0.html#data-types

This causes problem for Auto-generation of API layer for languages like C# (ASP.NET).

 

E.g. in file plugin-redoc-0

is a field `purchased_at` specified as:

purchased_at:
  description: The date when the purchase was made in ms since epoch
  nullable: false
  type: integer
  example: 1658399423658

This field is too long for integer (int32). Please specify the missing `format` attribute: `int64` into fields like this.

 

You already closed similar issue without any explanation and reasoning. Can you please keep this opened or ideally fix it ?

 

Thank you.

 

PS: I am maintainer of .NET MAUI RevenueCat library https://github.com/Kebechet/Maui.RevenueCat.InAppBilling and I would like to expose your RESP API also to .NET devs. This makes it really hard, because I dont have a capacity to do it manually and for auto-generators to work correctly the documentation needs to specify correct format.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings