The GitHub Actions job "Groovy Snapshot Canary Build" on 
grails-core.git/feat/openapi-springdoc-8.0.x has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
84ad312eee2d8314ff17b2b4da716ab562ae56ed / Scott Murphy Heiberg 
<[email protected]>
Describe Grails domain classes in the OpenAPI document

The customizer previously emitted paths with no schemas, so Swagger UI
showed an empty Schemas section and no request or response shapes.

Domain classes are now described from the GORM mapping model:

- every mapped entity gets a response schema plus a Request schema that
  omits the identifier and version, which a client does not supply
- associations are referenced rather than inlined, so a bidirectional
  relationship resolves both ways
- declared constraints are carried across: nullable to required, maxSize
  and size to maxLength/minLength, min/max/range to minimum/maximum,
  inList to enum, matches to pattern, and email/url to format
- index responds with an array of the resource, the remaining actions
  with a single one, and operations addressed by an identifier document
  a 404

The mapping context is injected optionally, so an application without
GORM still gets a document describing its paths.

The String-only constraint accessors throw rather than return null when
read from a property of another type, so they are consulted only for a
string schema.

Report URL: https://github.com/apache/grails-core/actions/runs/33300371662

With regards,
GitHub Actions via GitBox

Reply via email to