jsonschema-generator
Java JSON Schema Generator – creating JSON Schema (Draft 6, Draft 7, Draft 2019-09, or Draft 2020-12) from Java classes
파일 탐색기
최종 버전 다운로드 (.zip)- codeql-analysis.yml
- maven.yml
- slate-docs.yml
- AnnotationInheritanceExample.java
- DependentRequiredExample.java
- EnumMapExample.java
- ExternalRefAnnotationExample.java
- ExternalRefPackageExample.java
- IfThenElseExample.java
- InheritanceRefExample.java
- JacksonDescriptionAsTitleExample.java
- JacksonSubtypeDefinitionExample.java
- NamingStrategyExample.java
- OpenAiFunctionCallingSchemaExample.java
- SchemaGenerationExampleInterface.java
- SingleArrayItemExample.java
- StrictTypeInfoExample.java
- SubtypeLookUpExample.java
- TargetTypeOverrideExample.java
- ValidationErrorMessageExample.java
- ExampleTest.java
- AnnotationInheritanceExample-result.json
- DependentRequiredExample-result.json
- EnumMapExample-result.json
- ExternalRefAnnotationExample-result.json
- ExternalRefPackageExample-result.json
- IfThenElseExample-result.json
- InheritanceRefExample-result.json
- JacksonDescriptionAsTitleExample-result.json
- JacksonSubtypeDefinitionExample-result.json
- NamingStrategyExample-result.json
- OpenAiFunctionCallingSchemaExample-result.json
- SingleArrayItemExample-result.json
- StrictTypeInfoExample-result.json
- SubtypeLookUpExample-result.json
- TargetTypeOverrideExample-result.json
- ValidationErrorMessageExample-result.json
- logback.xml
- pom.xml
- AdditionalPropertiesModule.java
- ConstantValueModule.java
- EnumModule.java
- FieldExclusionModule.java
- FlattenedOptionalModule.java
- FlattenedWrapperModule.java
- InlineSchemaModule.java
- MethodExclusionModule.java
- SimpleTypeModule.java
- SimplifiedOptionalModule.java
- SingleValueAsArrayModule.java
- AttributeCollector.java
- DefinitionKey.java
- LazyValue.java
- MemberCollectionContextImpl.java
- PropertySortUtils.java
- SchemaCleanUpUtils.java
- SchemaGenerationContextImpl.java
- SchemaGeneratorConfigImpl.java
- TypeContextFactory.java
- Util.java
- CleanSchemaDefinitionNamingStrategy.java
- DefaultSchemaDefinitionNamingStrategy.java
- SchemaDefinitionNamingStrategy.java
- AnnotationHelper.java
- ConfigFunction.java
- CustomDefinition.java
- CustomDefinitionProvider.java
- CustomDefinitionProviderV2.java
- CustomPropertyDefinition.java
- CustomPropertyDefinitionProvider.java
- FieldScope.java
- InstanceAttributeOverride.java
- InstanceAttributeOverrideV2.java
- MemberScope.java
- MethodScope.java
- Module.java
- Option.java
- OptionPreset.java
- SchemaBuilder.java
- SchemaConstants.java
- SchemaGenerationContext.java
- SchemaGenerator.java
- SchemaGeneratorConfig.java
- SchemaGeneratorConfigBuilder.java
- SchemaGeneratorConfigPart.java
- SchemaGeneratorGeneralConfigPart.java
- SchemaGeneratorTypeConfigPart.java
- SchemaKeyword.java
- SchemaVersion.java
- StatefulConfig.java
- SubtypeResolver.java
- TypeAttributeOverride.java
- TypeAttributeOverrideV2.java
- TypeContext.java
- TypeScope.java
- AdditionalPropertiesModuleTest.java
- ConstantValueModuleTest.java
- EnumModuleTest.java
- FieldExclusionModuleTest.java
- MethodExclusionModuleTest.java
- SimpleTypeModuleTest.java
- AttributeCollectorTest.java
- PropertySortUtilsTest.java
- SchemaCleanUpUtilsTest.java
- SchemaGenerationContextImplTest.java
- SchemaGeneratorConfigImplTest.java
- SchemaDefinitionNamingStrategyTest.java
- AbstractTypeAwareTest.java
- AnnotationHelperTest.java
- FieldScopeTest.java
- MemberScopeTest.java
- MethodScopeTest.java
- SchemaBuilderTest.java
- SchemaGeneratorAllOfCleanUpTest.java
- SchemaGeneratorComplexTypesTest.java
- SchemaGeneratorConfigBuilderTest.java
- SchemaGeneratorConfigPartTest.java
- SchemaGeneratorCustomDefinitionsTest.java
- SchemaGeneratorMemberCleanUpTest.java
- SchemaGeneratorSimpleTypesTest.java
- SchemaGeneratorSubtypesTest.java
- TestUtils.java
- additional-property-with-subtype.json
- circular-custom-definition-DRAFT_2019_09.json
- circular-custom-definition-DRAFT_2020_12.json
- circular-custom-definition-DRAFT_6.json
- circular-custom-definition-DRAFT_7.json
- custom-property-definition-DRAFT_2019_09.json
- custom-property-definition-DRAFT_2020_12.json
- custom-property-definition-DRAFT_6.json
- custom-property-definition-DRAFT_7.json
- multiple-definitions-one-type-DRAFT_2019_09.json
- multiple-definitions-one-type-DRAFT_2020_12.json
- multiple-definitions-one-type-DRAFT_6.json
- multiple-definitions-one-type-DRAFT_7.json
- openapi.json
- testclass-withsupertypereferences-NO_SUBTYPES.json
- testclass-withsupertypereferences-ONE_SUBTYPE_INVALID.json
- testclass-withsupertypereferences-ONE_SUBTYPE_VALID.json
- testclass-withsupertypereferences-THREE_SUBTYPES.json
- testclass-withsupertypereferences-TWO_SUBTYPES.json
- testclass1-FULL_DOCUMENTATION-typeattributes.json
- testclass1-FULL_DOCUMENTATION.json
- testclass1-JAVA_OBJECT-methodattributes.json
- testclass1-PLAIN_JSON-fieldattributes.json
- testclass2-array.json
- testclass3-FULL_DOCUMENTATION-typeattributes.json
- testclass3-FULL_DOCUMENTATION.json
- testclass3-JAVA_OBJECT-methodattributes.json
- testclass3-PLAIN_JSON-fieldattributes.json
- testenum-FULL_DOCUMENTATION-default.json
- testenum-PLAIN_JSON-default.json
- testenum-PLAIN_JSON-viaToString.json
- logback.xml
- pom.xml
- README.md
- pom.xml
- README.md
- pom.xml
- README.md
- AnnotationParameter.java
- ClasspathType.java
- GeneratorModule.java
- GeneratorOptions.java
- GlobHandler.java
- PotentialSchemaClass.java
- SchemaGeneratorMojo.java
- StandardOptionPreset.java
- AnotherTestAnnotation.java
- TestAnnotation.java
- TestClassC.java
- AbstractTestClass.java
- TestClassA.java
- TestClassB.java
- TestInterface.java
- ClasspathTypeTest.java
- GlobHandlerTest.java
- SchemaGeneratorMojoTest.java
- TestClass.java
- TestModule.java
- .gitkeep
- .gitkeep
- .gitkeep
- .gitkeep
- ClassNotFound-dontFailIfNoClassesMatch-pom.xml
- ClassNotFound-pom.xml
- UnknownGeneratorPreset-pom.xml
- UnknownModule-pom.xml
- UnknownSchemaVersion-pom.xml
- AnnotationMixed-pom.xml
- AnnotationMulti-pom.xml
- AnnotationSingle-pom.xml
- Complete-pom.xml
- Complete-reference.json
- DefaultConfig-pom.xml
- DefaultConfig-reference.json
- JacksonSchemaModule-pom.xml
- JacksonSchemaModule-reference.json
- JakartaValidationModule-pom.xml
- JakartaValidationModule-reference.json
- JavaxValidationModule-pom.xml
- JavaxValidationModule-reference.json
- PackageNameWithoutAbstracts-pom.xml
- PackageNameWithoutInterfaces-pom.xml
- SchemaFileName-pom.xml
- SchemaVersion-pom.xml
- SchemaVersion-reference.json
- Swagger15Module-pom.xml
- Swagger15Module-reference.json
- Swagger2Module-pom.xml
- Swagger2Module-reference.json
- TestClassA-reference.json
- TestClassB-reference.json
- TestClassC-reference.json
- TwoClasses-pom.xml
- logback.xml
- pom.xml
- README.md
- CustomEnumDefinitionProvider.java
- JacksonModule.java
- JacksonOption.java
- JacksonSchemaModule.java
- JsonIdentityReferenceDefinitionProvider.java
- JsonPropertySorter.java
- JsonSubTypesResolver.java
- JsonUnwrappedDefinitionProvider.java
- AbstractTypeAwareTest.java
- CustomEnumDefinitionProviderTest.java
- IgnorePropertyTest.java
- IntegrationTest.java
- JacksonSchemaModuleTest.java
- JsonIdentityReferenceDefinitionProviderTest.java
- JsonPropertySorterIntegrationTest.java
- JsonPropertySorterTest.java
- JsonSubTypesResolverCustomDefinitionsTest.java
- JsonSubTypesResolverLookUpTest.java
- SubtypeResolutionFromInterfaceIntegrationTest.java
- SubtypeResolutionIntegrationTest.java
- SubtypeResolutionSimpleIntegrationTest.java
- TestType.java
- integration-test-result.json
- subtype-integration-test-result.json
- subtype-interface-integration-test-result.json
- subtype-simple-integration-test-result.json
- logback.xml
- pom.xml
- README.md
- JakartaValidationModule.java
- JakartaValidationOption.java
- IntegrationTest.java
- JakartaValidationModuleTest.java
- TestType.java
- integration-test-result.json
- logback.xml
- pom.xml
- README.md
- JavaxValidationModule.java
- JavaxValidationOption.java
- IntegrationTest.java
- JavaxValidationModuleTest.java
- TestType.java
- integration-test-result.json
- logback.xml
- pom.xml
- README.md
- SwaggerModule.java
- SwaggerOption.java
- IntegrationTest.java
- SwaggerModuleTest.java
- TestType.java
- integration-test-result.json
- logback.xml
- pom.xml
- README.md
- ExternalRefCustomDefinitionProvider.java
- Swagger2Module.java
- Swagger2SchemaDefinitionNamingStrategy.java
- Swagger2SubtypeResolver.java
- IntegrationTest.java
- Swagger2ModuleTest.java
- integration-test-result-Foo.json
- integration-test-result-TestClass.json
- logback.xml
- pom.xml
- README.md
- monokai_sublime_slate.rb
- multilang.rb
- nesting_unique_head.rb
- toc_data.rb
- unique_head.rb
- slate.eot
- slate.svg
- slate.ttf
- slate.woff
- slate.woff2
- logo.png
- navbar.png
- _faq.md
- _jackson-module.md
- _jakarta-validation-module.md
- _javax-validation-module.md
- _main-generator-advanced.md
- _main-generator-individual.md
- _main-generator-modules.md
- _main-generator-options.md
- _maven-plugin.md
- _motivation.md
- _swagger-15-module.md
- _swagger-2-module.md
- _copy.js
- _lang.js
- _search.js
- _toc.js
- _energize.js
- _imagesloaded.min.js
- _jquery.highlight.js
- _jquery.js
- _lunr.js
- all.js
- all_nosearch.js
- layout.erb
- _icon-font.scss
- _normalize.scss
- _rtl.scss
- _variables.scss
- print.css.scss
- screen.css.scss
- index.html.md
- .dockerignore
- config.rb
- Dockerfile
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
- .gitignore
- CHANGELOG.md
- checkstyle.xml
- LICENSE
- pom.xml
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/victools/jsonschema-generator
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd jsonschema-generator
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -f slate-docs/Dockerfile -t jsonschema-generator .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 jsonschema-generator
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Maven (Java)
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- JDK (Java) Java 프로젝트를 빌드/실행하려면 필요합니다.
- Maven mvn 명령어를 쓰기 위한 빌드 도구입니다.
cd jsonschema-examples
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
mvn clean install
Maven으로 의존성 설치와 빌드를 진행합니다.
BUILD SUCCESS 메시지가 뜨면 성공입니다. target/ 폴더에 결과물이 생성됩니다.
// repository documentation
Was this content helpful?
(0 ratings)
