Lines Matching full:draft
198 kDraftMin = 4, //!< Current minimum supported draft
201 kDraftMax = 5, //!< Current maximum supported draft
219 Specification(SchemaDraft d) : draft(d), oapi(kVersionNone) {} in Specification()
221 if (oapi == kVersion20) draft = kDraft04; in Specification()
222 else if (oapi == kVersion30) draft = kDraft05; in Specification()
223 else if (oapi == kVersion31) draft = kDraft2020_12; in Specification()
224 else draft = kDraft04; in Specification()
228 …return ((draft >= kDraftMin && draft <= kDraftMax) && ((oapi == kVersionNone) || (oapi >= kVersion… in IsSupported()
230 SchemaDraft draft; member
815 // ReadOnly - open api only (until draft 7 supported) in allocator_()
816 // WriteOnly - open api 3 only (until draft 7 supported) in allocator_()
1798 // printf("GetRemoteDocument: %d %d\n", spec.draft, spec.oapi);
1842 …\param spec Optional schema draft or OpenAPI version. Used if no specification in document. Defaul…
1870 // Establish the schema draft or open api version.
1944 SchemaDraft draft = GetSchemaDraft(document);
1945 if (draft != kDraftNone)
1946 return Specification(draft);
2080 // Static method to get schema draft of any schema document
2094 // Get the schema draft from the $schema keyword at the supplied location
2142 // Get the draft of the schema or the open api version (which implies the draft).
2143 …// Report an error if schema draft or open api version not supported or not recognized, or both in…
2151 // Use document draft or open api version if present or use spec from constructor
2156 // Error if draft or version unknown
2157 if (spec_.draft == kDraftUnknown || spec_.oapi == kVersionUnknown)