Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI/JsonSchema 자동 생성 #1

Open
RanolP opened this issue Jun 11, 2020 · 4 comments
Open

OpenAPI/JsonSchema 자동 생성 #1

RanolP opened this issue Jun 11, 2020 · 4 comments

Comments

@RanolP
Copy link
Member

RanolP commented Jun 11, 2020

@RanolP
Copy link
Member Author

RanolP commented Aug 21, 2020

json schema ok

@RanolP
Copy link
Member Author

RanolP commented Aug 21, 2020

schemars 쓰는데 okapi를 안 쓸 이유가 없는 듯

@RanolP
Copy link
Member Author

RanolP commented Aug 25, 2020

기본적인 타입은 잘 맞추고 있다 야호

@RanolP
Copy link
Member Author

RanolP commented Aug 25, 2020

  1. 태그 붙일 수 있게 하기
    #[service("/hello-world", tag="introduction")]
    fn hello_world() { ... }
    같이
  2. 문서화 주석 -> OpenAPI로 넘기기
    1. summary
    2. description
    3. parameter는 어떻게?
    4. operation은 이 세상에 get밖에 없으니 안심

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant