Open nafg opened 1 year ago
I fixed it up a bunch. Now it works with Guardrail (except for the server templating which I can string-replace in my build). Here is the fixed-up file: https://github.com/gristlabs/grist-help/pull/243/files#diff-ed8057bfb897295d502b09b2a80b95fb6ee9de4272cfa2c100922d3c542af030
However, it still fails with this generator. Here is the new error:
grist.compileOpenApiSpec scala.MatchError: class ObjectSchema {
class Schema {
type: object
format: null
$ref: #/components/schemas/User
description: null
title: null
multipleOf: null
maximum: null
exclusiveMaximum: null
minimum: null
exclusiveMinimum: null
maxLength: null
minLength: null
pattern: null
maxItems: null
minItems: null
uniqueItems: null
maxProperties: null
minProperties: null
required: null
not: null
properties: null
additionalProperties: null
nullable: null
readOnly: null
writeOnly: null
example: null
externalDocs: null
deprecated: null
discriminator: null
xml: null
}
} (of class io.github.ghostbuster91.sttp.client3.openapi.SafeObjectSchema)
Thanks for the report. I will try to finish rewriting the parser soon. Hopefully it will fix it
The spec is at https://raw.githubusercontent.com/gristlabs/grist-help/master/api/grist.yml
The error is: